diff options
author | blue55 <yllan@fiberhome.com> | 2017-06-22 11:01:23 +0800 |
---|---|---|
committer | blue55 <yllan@fiberhome.com> | 2017-06-22 11:02:49 +0800 |
commit | f87c349bc3c41caf0d7300469260f69f61e8750c (patch) | |
tree | eaeac8ebb7ee833d0a35fcacabea8199000fa13f | |
parent | 2fb4a216cc94e96db6fdb8c20ed4d278d15ba1fe (diff) | |
download | oslo-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.ini | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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 |