mirror of
https://github.com/beetbox/beets.git
synced 2025-12-06 08:39:17 +01:00
Reformat flake8 config comments
A recent release of flake8 broke the syntax we were using for comments: https://github.com/pycqa/flake8/issues/1689#issuecomment-1326319235 It requires comments to be on their own lines.
This commit is contained in:
parent
7cfb55b746
commit
abc3dfbf42
1 changed files with 21 additions and 15 deletions
36
setup.cfg
36
setup.cfg
|
|
@ -5,21 +5,27 @@ docstring-convention = google
|
||||||
# errors we ignore; see https://www.flake8rules.com/ for more info
|
# errors we ignore; see https://www.flake8rules.com/ for more info
|
||||||
ignore =
|
ignore =
|
||||||
# pycodestyle errors
|
# pycodestyle errors
|
||||||
E121, # continuation line under-indented for hanging indent
|
# continuation line under-indented for hanging indent
|
||||||
E123, # closing bracket does not match indentation of opening bracket's line
|
E121,
|
||||||
E126, # continuation line over-indented for hangin indent
|
# closing bracket does not match indentation of opening bracket's line
|
||||||
E241, # multiple spaces after non-arithmetic operators (for vertical alignment)
|
E123,
|
||||||
E305, # expected 2 blank lines after end of function or class
|
# continuation line over-indented for hanging indent
|
||||||
E731, # do not assign a lamba expression, use a def
|
E126,
|
||||||
E741, # do not use variables name 'I', 'O', or 'l'
|
# multiple spaces after non-arithmetic operators (for vertical alignment)
|
||||||
# pycodestyle warnings
|
E241,
|
||||||
W503, # line break occurred before a binary operator
|
# expected 2 blank lines after end of function or class
|
||||||
W504, # line break occurred after a binary operator
|
E305,
|
||||||
# pyflakes errors
|
# do not assign a lambda expression, use a def
|
||||||
F405, # name be undefined, or defined from star imports: module
|
E731,
|
||||||
# mccabe error
|
# do not use variables name 'I', 'O', or 'l'
|
||||||
C901, # function is too complex
|
E741,
|
||||||
N818, # Exception subclasses should be named with an Error suffix
|
# pycodestyle warnings: line breaks around binary operators
|
||||||
|
W503,
|
||||||
|
W504,
|
||||||
|
# mccabe errors: function is too complex
|
||||||
|
C901,
|
||||||
|
# Exception subclasses should be named with an Error suffix
|
||||||
|
N818,
|
||||||
per-file-ignores =
|
per-file-ignores =
|
||||||
./beet:D
|
./beet:D
|
||||||
./docs/conf.py:D
|
./docs/conf.py:D
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue