Re-enable optional hacking checks

These are not enabled by default when you enable the group with 'select'

Change-Id: Iee191fc778c014acd2d093e1f2107e11cd1e81fd
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
This commit is contained in:
Stephen Finucane
2025-08-01 11:25:26 +01:00
parent edfccbdfc3
commit 0117eb0c08

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