diff --git a/.flake8 b/.flake8 index af9e54429..537dfeff0 100644 --- a/.flake8 +++ b/.flake8 @@ -30,6 +30,8 @@ exclude = .venv,.hypothesis,.git,__pycache__,resources.py # D211: No blank lines allowed before class docstring # (PEP257 got changed, but let's stick to the old standard) # D402: First line should not be function's signature (false-positives) +# D403: First word of the first line should be properly capitalized +# (false-positives) # H101: Use TODO(NAME) # H201: bare except # H238: Use new-stule classes @@ -41,7 +43,7 @@ ignore = N802, L101,L102,L103,L201,L202,L203,L204,L207,L302, P101,P102,P103, - D102,D103,D104,D105,D209,D211,D402, + D102,D103,D104,D105,D209,D211,D402,D403, H101,H201,H238,H301,H306 min-version = 3.4.0 max-complexity = 12 diff --git a/misc/requirements/requirements-flake8.txt b/misc/requirements/requirements-flake8.txt index 34f4b50d6..a0c21e1ed 100644 --- a/misc/requirements/requirements-flake8.txt +++ b/misc/requirements/requirements-flake8.txt @@ -1,11 +1,11 @@ # This file is automatically generated by scripts/dev/recompile_requirements.py ebb-lint==0.4.4 -flake8==2.5.5 -flake8-copyright==0.1 +flake8==2.6.0 +flake8-copyright==0.1.1 flake8-debugger==1.4.0 flake8-deprecated==1.0 -flake8-docstrings==0.2.6 +flake8-docstrings==0.2.8 flake8-future-import==0.4.1 flake8-mock==0.2 flake8-pep3101==0.3 @@ -21,6 +21,7 @@ pbr==1.10.0 pep257==0.7.0 # still needed by flake8-docstrings but ignored pep8==1.7.0 pep8-naming==0.3.3 +pycodestyle==2.0.0 pydocstyle==1.0.0 pyflakes==1.2.3 pyparsing==2.1.5 diff --git a/misc/requirements/requirements-flake8.txt-raw b/misc/requirements/requirements-flake8.txt-raw index 99b14382b..bc181bae3 100644 --- a/misc/requirements/requirements-flake8.txt-raw +++ b/misc/requirements/requirements-flake8.txt-raw @@ -16,6 +16,6 @@ pep8-naming pydocstyle pyflakes -mccabe==0.5.0 +pep8==1.7.0 #@ comment: pep257 still needed by flake8-docstrings but ignored