tox: Update flake8-deprecated to 1.0.
- Warn if using xmlconfig.file, self.loadZCML is the preferred option. - Avoid false reports by suffixing an opening parenthesis on all methods. - Add decorators from zope.interface and zope.component. Due to the bugfix we can also remove the D001 suppression.
This commit is contained in:
parent
48f87d1656
commit
108d0c8763
@ -22,7 +22,6 @@ exclude = .venv,.hypothesis,.git,__pycache__,resources.py
|
|||||||
# P101: format string does contain unindexed parameters
|
# P101: format string does contain unindexed parameters
|
||||||
# P102: docstring does contain unindexed parameters
|
# P102: docstring does contain unindexed parameters
|
||||||
# P103: other string does contain unindexed parameters
|
# P103: other string does contain unindexed parameters
|
||||||
# D001: found assert_ replace it with assertTrue
|
|
||||||
# D102: Missing docstring in public method (will be handled by others)
|
# D102: Missing docstring in public method (will be handled by others)
|
||||||
# D103: Missing docstring in public function (will be handled by others)
|
# D103: Missing docstring in public function (will be handled by others)
|
||||||
# D104: Missing docstring in public package (will be handled by others)
|
# D104: Missing docstring in public package (will be handled by others)
|
||||||
@ -37,7 +36,6 @@ ignore =
|
|||||||
N802,
|
N802,
|
||||||
L101,L102,L103,L201,L202,L203,L204,L207,L302,
|
L101,L102,L103,L201,L202,L203,L204,L207,L302,
|
||||||
P101,P102,P103,
|
P101,P102,P103,
|
||||||
D001,
|
|
||||||
D102,D103,D104,D105,D209,D211,D402
|
D102,D103,D104,D105,D209,D211,D402
|
||||||
max-complexity = 12
|
max-complexity = 12
|
||||||
putty-ignore =
|
putty-ignore =
|
||||||
|
2
tox.ini
2
tox.ini
@ -164,7 +164,7 @@ deps =
|
|||||||
pep8==1.7.0
|
pep8==1.7.0
|
||||||
pyflakes==1.0.0
|
pyflakes==1.0.0
|
||||||
flake8-string-format==0.2.1
|
flake8-string-format==0.2.1
|
||||||
flake8-deprecated==0.2
|
flake8-deprecated==1.0
|
||||||
flake8-mock==0.2
|
flake8-mock==0.2
|
||||||
flake8-pep3101==0.2
|
flake8-pep3101==0.2
|
||||||
flake8-docstrings==0.2.5
|
flake8-docstrings==0.2.5
|
||||||
|
Loading…
Reference in New Issue
Block a user