diff options
author | John L. Villalovos <john.l.villalovos@intel.com> | 2016-11-09 05:20:56 -0800 |
---|---|---|
committer | John L. Villalovos <john.l.villalovos@intel.com> | 2016-11-09 05:20:56 -0800 |
commit | 6f53a1822f88b2e401d58369ef9a5a12ffece7fd (patch) | |
tree | f1329724a91a35bcca4ba8d32a22c2cb4d57d5c6 /tox.ini | |
parent | 4bb734f90e72b3e3db1bdad11202bed3edf88dc1 (diff) | |
download | python-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.ini | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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 |