You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When there is no base configuration file --append-config should extend/modify the defaults
myconfig
[flake8]
max-line-length=125docstring-convention=googleselect=
# D213: Multi-line docstring summary should start at the second lineD213,# indentation is not a multiple of fourE111extend-ignore=
# D212: Multi-line docstring summary should start at the first lineD212require-plugins=
flake8-black,flake8-docstrings,flake8-isort,pycodestyle
$ pixi run flake8 t.pymytest.py:1:1: D100 Missing docstring in public modulemytest.py:1:1: D103 Missing docstring in public functionmytest.py:2:5: BLK100 Black would make changes.mytest.py:2:6: E111 indentation is not a multiple of 4mytest.py:2:6: E117 over-indentedmytest.py:4:1: E305 expected 2 blank lines after class or function definition, found 1
$ pixi run flake8 --append-config=myconfig t.pyok
The text was updated successfully, but these errors were encountered:
how did you install flake8?
pixi add flake8 flake8-isort flake8-black flake8-docstrings
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
The text was updated successfully, but these errors were encountered: