summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorblue55 <yllan@fiberhome.com>2017-06-22 11:01:23 +0800
committerblue55 <yllan@fiberhome.com>2017-06-22 11:02:49 +0800
commitf87c349bc3c41caf0d7300469260f69f61e8750c (patch)
treeeaeac8ebb7ee833d0a35fcacabea8199000fa13f
parent2fb4a216cc94e96db6fdb8c20ed4d278d15ba1fe (diff)
downloadoslo-messaging-f87c349bc3c41caf0d7300469260f69f61e8750c.tar.gz
Enable some off-by-default checks
Some of the available checks are disabled by default, like: [H106] Don’t put vim configuration in source files [H203] Use assertIs(Not)None to check for None Change-Id: I54b4b950dfcd2ce5a64f38b5d5b5cbe95846a8fa
-rw-r--r--tox.ini1
1 files changed, 1 insertions, 0 deletions
diff --git a/tox.ini b/tox.ini
index 1ee6e4b..043767c 100644
--- a/tox.ini
+++ b/tox.ini
@@ -96,6 +96,7 @@ commands = bandit -r oslo_messaging -x tests -n5
[flake8]
show-source = True
+enable-extensions = H203,H106
ignore = H405
exclude = .tox,dist,doc,*.egg,build,__init__.py