Browse Source

Merge "Enable some off-by-default checks"

Zuul 1 year ago
parent
commit
5a5a980cbf
1 changed files with 3 additions and 0 deletions
  1. 3
    0
      tox.ini

+ 3
- 0
tox.ini View File

@@ -88,5 +88,8 @@ max-complexity = 30
88 88
 # H405 Multiline docstring separated by empty line
89 89
 # E402 module level import not at top of file FIXME remove this
90 90
 ignore = H904,H405,E402
91
+# H106 Don’t put vim configuration in source files
92
+# H203 Use assertIs(Not)None to check for None
93
+enable-extensions=H106,H203
91 94
 show-source = True
92 95
 exclude=.venv,.git,.tox,dist,*egg,build

Loading…
Cancel
Save