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:
Florian Bruhin 2016-02-28 14:47:24 +01:00
parent 48f87d1656
commit 108d0c8763
2 changed files with 1 additions and 3 deletions

View File

@ -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 =

View File

@ -164,7 +164,7 @@ deps =
pep8==1.7.0
pyflakes==1.0.0
flake8-string-format==0.2.1
flake8-deprecated==0.2
flake8-deprecated==1.0
flake8-mock==0.2
flake8-pep3101==0.2
flake8-docstrings==0.2.5