Merge "Update tox.ini so flake8 works even without hacking"
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
# Hacking already pins down pep8, pyflakes and flake8
|
||||
hacking>=0.5.6,<0.6
|
||||
hacking>=0.8.0,<0.9
|
||||
coverage
|
||||
nose
|
||||
nosexcover
|
||||
|
4
tox.ini
4
tox.ini
@@ -42,10 +42,10 @@ commands = {posargs}
|
||||
# it's not a bug that we aren't using all of hacking
|
||||
# H102 -> apache2 license exists
|
||||
# H103 -> license is apache
|
||||
# H201 -> no bare excepts
|
||||
# H201 -> no bare excepts # add when hacking supports noqa
|
||||
# H501 -> don't use locals() for str formatting
|
||||
# H903 -> \n not \r\n
|
||||
ignore = H
|
||||
select = H102, H103, H201, H501, H903
|
||||
select = F,E,W,H102,H103,H501,H903
|
||||
exclude = .venv,.tox,dist,doc,*egg
|
||||
show-source = True
|
||||
|
Reference in New Issue
Block a user