mirror of
https://github.com/dgelessus/python-rsrcfork.git
synced 2024-12-22 02:29:56 +00:00
Remove flake8-tabs plugin that is incompatible with flake8 5
And instead manually ignore the relevant indentation errors/warnings.
This commit is contained in:
parent
82951f5d8e
commit
ee767a106c
10
setup.cfg
10
setup.cfg
@ -65,17 +65,17 @@ extend-exclude =
|
||||
|
||||
# The following issues are ignored because they do not match our code style:
|
||||
ignore =
|
||||
# These E1 checks report many false positives for code that is (consistently) indented with tabs alone.
|
||||
E101, # indentation contains mixed spaces and tabs
|
||||
E117, # over-indented
|
||||
E126, # continuation line over-indented for hanging indent
|
||||
E226, # missing whitespace around arithmetic operator
|
||||
E261, # at least two spaces before inline comment
|
||||
E501, # line too long
|
||||
W191, # indentation contains tabs
|
||||
W293, # blank line contains whitespace
|
||||
W503, # line break before binary operator
|
||||
|
||||
# flake8-tabs configuration
|
||||
use-flake8-tabs = true
|
||||
blank-lines-indent = always
|
||||
indent-tabs-def = 1
|
||||
|
||||
[mypy]
|
||||
files=src/**/*.py
|
||||
python_version = 3.6
|
||||
|
Loading…
Reference in New Issue
Block a user