Reformat setup.cfg flake8 ignore option to make current flake8 happy

This commit is contained in:
dgelessus 2023-02-14 21:30:10 +01:00
parent 0624d4eae9
commit ff9377dc8d
1 changed files with 18 additions and 9 deletions

View File

@ -67,15 +67,24 @@ extend-exclude =
# The following issues are ignored because they do not match our code style: # The following issues are ignored because they do not match our code style:
ignore = ignore =
# These E1 checks report many false positives for code that is (consistently) indented with tabs alone. # These E1 checks report many false positives for code that is (consistently) indented with tabs alone.
E101, # indentation contains mixed spaces and tabs # indentation contains mixed spaces and tabs
E117, # over-indented E101,
E126, # continuation line over-indented for hanging indent # over-indented
E226, # missing whitespace around arithmetic operator E117,
E261, # at least two spaces before inline comment # continuation line over-indented for hanging indent
E501, # line too long E126,
W191, # indentation contains tabs # missing whitespace around arithmetic operator
W293, # blank line contains whitespace E226,
W503, # line break before binary operator # at least two spaces before inline comment
E261,
# line too long
E501,
# indentation contains tabs
W191,
# blank line contains whitespace
W293,
# line break before binary operator
W503,
[mypy] [mypy]
files=src/**/*.py files=src/**/*.py