summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorJohn L. Villalovos <john.l.villalovos@intel.com>2016-11-08 10:07:56 -0800
committerJohn L. Villalovos <john.l.villalovos@intel.com>2016-11-08 11:57:15 -0800
commit8b6894483b4d86189c48fbe414272761dbe5c933 (patch)
tree742685d8c6cefeff24a5cd7f0798bacd37e1b702 /tox.ini
parente15fe4ac6b62b30bc4cc1316e7998c9e108cc623 (diff)
downloadironic-8b6894483b4d86189c48fbe414272761dbe5c933.tar.gz
Update to hacking 0.12.0 and use new checks
Use hacking 0.12.0 Use the new checks that are available: [H106] Don’t put vim configuration in source files. [H203] Use assertIs(Not)None to check for None. [H904] Delay string interpolations at logging calls. Fix code so tests pass. Change-Id: I902e999687b066800e18fafd091571bf718b15f4 Depends-On: I2aa44b62f900d4dfd67701b01eadd0523fbfaf07
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini4
1 files changed, 4 insertions, 0 deletions
diff --git a/tox.ini b/tox.ini
index fdfba41cc..054e9d382 100644
--- a/tox.ini
+++ b/tox.ini
@@ -91,6 +91,10 @@ commands = {posargs}
ignore = E129
exclude = .venv,.git,.tox,dist,doc,*lib/python*,*egg,build
max-complexity=17
+# [H106] Don’t put vim configuration in source files.
+# [H203] Use assertIs(Not)None to check for None.
+# [H904] Delay string interpolations at logging calls.
+enable-extensions=H106,H203,H904
[hacking]
import_exceptions = testtools.matchers, ironic.common.i18n