flake8: Add flake8-future-import
This commit is contained in:
parent
41d52386e8
commit
735db072c6
@ -30,13 +30,15 @@ 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)
|
||||
# FI10 - FI15: __future__ import missing
|
||||
ignore =
|
||||
E128,E226,E265,E501,E402,E266,
|
||||
F401,
|
||||
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,
|
||||
FI10,FI11,FI12,FI13,FI14,FI15
|
||||
max-complexity = 12
|
||||
putty-ignore =
|
||||
/# pylint: disable=invalid-name/ : +N801,N806
|
||||
@ -50,7 +52,7 @@ putty-ignore =
|
||||
tests/*/*/test_*.py : +D100,D101,D401
|
||||
tests/*/test_*.py : +D100,D101,D401
|
||||
tests/unit/browser/http/test_content_disposition.py : +D400
|
||||
scripts/dev/ci/install.py : +C901
|
||||
scripts/dev/ci/install.py : +C901,FI53
|
||||
copyright-check = True
|
||||
copyright-regexp = # Copyright [\d-]+ .*
|
||||
copyright-min-file-size = 110
|
||||
|
Loading…
Reference in New Issue
Block a user