When there is no base configuration file --append-config should extend/modify the defaults
myconfig
[flake8]
max-line-length=125
docstring-convention=google
select=
# D213: Multi-line docstring summary should start at the second line
D213,
# indentation is not a multiple of four
E111
extend-ignore=
# D212: Multi-line docstring summary should start at the first line
D212
require-plugins=
flake8-black,
flake8-docstrings,
flake8-isort,
pycodestyle
$ pixi run flake8 t.py
mytest.py:1:1: D100 Missing docstring in public module
mytest.py:1:1: D103 Missing docstring in public function
mytest.py:2:5: BLK100 Black would make changes.
mytest.py:2:6: E111 indentation is not a multiple of 4
mytest.py:2:6: E117 over-indented
mytest.py:4:1: E305 expected 2 blank lines after class or function definition, found 1
$ pixi run flake8 --append-config=myconfig t.py
ok
how did you install flake8?
unmodified output of
flake8 --bug-report
describe the problem
what I expected to happen
When there is no base configuration file
--append-config
should extend/modify the defaultsmyconfig
sample code
commands ran