summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorJohn L. Villalovos <john.l.villalovos@intel.com>2016-11-09 05:20:56 -0800
committerJohn L. Villalovos <john.l.villalovos@intel.com>2016-11-09 05:20:56 -0800
commit6f53a1822f88b2e401d58369ef9a5a12ffece7fd (patch)
treef1329724a91a35bcca4ba8d32a22c2cb4d57d5c6 /tox.ini
parent4bb734f90e72b3e3db1bdad11202bed3edf88dc1 (diff)
downloadpython-ironicclient-6f53a1822f88b2e401d58369ef9a5a12ffece7fd.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. No changes were needed to the code to pass the new checks. Change-Id: I348a9ef60449fc3d5981013f0be3bfd66d503f6e
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 74b1d8a..43b0729 100644
--- a/tox.ini
+++ b/tox.ini
@@ -50,6 +50,10 @@ commands =
[flake8]
ignore =
exclude = .venv,.git,.tox,dist,doc,*lib/python*,*egg,build,tools
+# [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