diff options
author | wangzhenyu <wangzy@fiberhome.com> | 2017-06-27 18:15:51 +0800 |
---|---|---|
committer | Tim Burke <tim.burke@gmail.com> | 2019-02-21 09:31:09 -0800 |
commit | fd6e76029dc725ad48ae4e250f1c70a58740cad7 (patch) | |
tree | 1840dd08c4b1f74f42f48546d6b1b6949472333b | |
parent | 0ee7c8272e0de2d8c44fd98306d54fc290d74f38 (diff) | |
download | python-swiftclient-fd6e76029dc725ad48ae4e250f1c70a58740cad7.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: I36a6997fdb806b4d0a9d064107cc1451c766c987
-rw-r--r-- | tox.ini | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -78,6 +78,9 @@ commands= # H404: multi line docstring should start without a leading new line # H405: multi line docstring summary not separated with an empty line ignore = H101,H301,H306,H401,H403,H404,H405 +# H106: Don’t put vim configuration in source files +# H203: Use assertIs(Not)None to check for None +enable-extensions=H106,H203 show-source = True exclude = .venv,.tox,dist,doc,*egg |