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
|
||||
# P102: docstring 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)
|
||||
# D103: Missing docstring in public function (will be handled by others)
|
||||
# D104: Missing docstring in public package (will be handled by others)
|
||||
@ -37,7 +36,6 @@ ignore =
|
||||
N802,
|
||||
L101,L102,L103,L201,L202,L203,L204,L207,L302,
|
||||
P101,P102,P103,
|
||||
D001,
|
||||
D102,D103,D104,D105,D209,D211,D402
|
||||
max-complexity = 12
|
||||
putty-ignore =
|
||||
|
Loading…
Reference in New Issue
Block a user