Merge "Re-enable optional hacking checks"

This commit is contained in:
Zuul
2025-08-04 13:03:55 +00:00
committed by Gerrit Code Review

View File

@@ -201,6 +201,12 @@ commands = sphinx-build -W -b linkcheck doc/source doc/build/linkcheck
[flake8]
# We only enable the hacking (H) and neutron (N) checks
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
show-source = true
exclude = ./.*,build,dist,doc