flake8: Get rid of 'hacking' plugin

It doesn't seem to be intended to be used outside OpenStack, and I'm not
sure if it even works properly in our setup...
This commit is contained in:
Florian Bruhin 2016-11-08 07:07:17 +01:00
parent 39b3bfba93
commit 7e6edaf93d
3 changed files with 2 additions and 15 deletions

View File

@ -23,18 +23,12 @@ exclude = .*,__pycache__,resources.py
# D402: First line should not be function's signature (false-positives) # D402: First line should not be function's signature (false-positives)
# D403: First word of the first line should be properly capitalized # D403: First word of the first line should be properly capitalized
# (false-positives) # (false-positives)
# H101: Use TODO(NAME)
# H201: bare except
# H238: Use new-stule classes
# H301: one import per line
# H306: imports not in alphabetical order
ignore = ignore =
E128,E226,E265,E501,E402,E266,E731, E128,E226,E265,E501,E402,E266,E731,
F401, F401,
N802, N802,
P101,P102,P103, P101,P102,P103,
D102,D103,D104,D105,D209,D211,D402,D403, D102,D103,D104,D105,D209,D211,D402,D403
H101,H201,H238,H301,H306
min-version = 3.4.0 min-version = 3.4.0
max-complexity = 12 max-complexity = 12
putty-auto-ignore = True putty-auto-ignore = True

View File

@ -12,11 +12,8 @@ flake8-putty==0.4.0
flake8-string-format==0.2.3 flake8-string-format==0.2.3
flake8-tidy-imports==1.0.3 flake8-tidy-imports==1.0.3
flake8-tuple==0.2.12 flake8-tuple==0.2.12
hacking==0.11.0
mccabe==0.5.2 mccabe==0.5.2
packaging==16.8 packaging==16.8
pbr==1.10.0
pep8==1.7.0
pep8-naming==0.4.1 pep8-naming==0.4.1
pycodestyle==2.1.0 pycodestyle==2.1.0
pydocstyle==1.1.1 pydocstyle==1.1.1

View File

@ -10,18 +10,14 @@ flake8-putty
flake8-string-format flake8-string-format
flake8-tidy-imports flake8-tidy-imports
flake8-tuple flake8-tuple
hacking
pep8-naming pep8-naming
pydocstyle pydocstyle
pyflakes pyflakes
# Pinned to 1.5.7 by hacking otherwise
pep8==1.7.0
# Pinned to 2.0.0 otherwise # Pinned to 2.0.0 otherwise
pycodestyle==2.1.0 pycodestyle==2.1.0
# Waiting until hacking/flake8-tuple are updated # Waiting until flake8-putty updated
#@ filter: flake8 < 3.0.0 #@ filter: flake8 < 3.0.0
# https://github.com/JBKahn/flake8-debugger/issues/5 # https://github.com/JBKahn/flake8-debugger/issues/5