Merge "Re-enable optional hacking checks"
This commit is contained in:
6
tox.ini
6
tox.ini
@@ -201,6 +201,12 @@ commands = sphinx-build -W -b linkcheck doc/source doc/build/linkcheck
|
|||||||
[flake8]
|
[flake8]
|
||||||
# We only enable the hacking (H) and neutron (N) checks
|
# We only enable the hacking (H) and neutron (N) checks
|
||||||
select = H,N
|
select = H,N
|
||||||
|
# H106: Don't put vim configuration in source files
|
||||||
|
# H203: Use assertIs(Not)None to check for None
|
||||||
|
# H204: Use assert(Not)Equal to check for equality
|
||||||
|
# H205: Use assert(Greater|Less)(Equal) for comparison
|
||||||
|
# H904: Delay string interpolations at logging calls
|
||||||
|
enable-extensions = H106,H203,H204,H205,H904
|
||||||
ignore = H405,H701,H702,H703,N530
|
ignore = H405,H701,H702,H703,N530
|
||||||
show-source = true
|
show-source = true
|
||||||
exclude = ./.*,build,dist,doc
|
exclude = ./.*,build,dist,doc
|
||||||
|
Reference in New Issue
Block a user