diff options
author | Dolph Mathews <dolph.mathews@gmail.com> | 2013-05-28 09:22:03 -0500 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2013-06-03 13:05:12 +0000 |
commit | 6f27af4a0cdbde42b1566ecabaf667c26b089dc3 (patch) | |
tree | b5113ad5410764c0a8279d84ad89975192973954 /tox.ini | |
parent | abcf9db6251a2e1349ee199113cc80a136ff2f79 (diff) | |
download | python-keystoneclient-6f27af4a0cdbde42b1566ecabaf667c26b089dc3.tar.gz |
Fix unused imports(flake8 F401, F999)
- F401: imported but unused
- F999: syntax error in doctest
Fixing a couple of the F401's simply required fixing the doctests syntax
where the imports were actually in use.
Change-Id: If78abbb143daf8d005a71c5ab52836df29c5e0cd
Diffstat (limited to 'tox.ini')
-rw-r--r-- | tox.ini | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -27,11 +27,9 @@ commands = python setup.py testr --coverage --testr-args='{posargs}' downloadcache = ~/cache/pip [flake8] -# F401: imported but unused # F811: redefinition of unused 'client' from line 81 # F821: undefined name # F841: local variable is assigned to but never used -# F999: syntax error in doctest # H201: no 'except:' at least use 'except Exception:' # H202: assertRaises Exception too broad # H302: import only modules @@ -42,6 +40,6 @@ downloadcache = ~/cache/pip # H403: multi line docstring end on new line # H404: multi line docstring should start with a summary # H802: git commit title -ignore = F401,F811,F821,F841,F999,H201,H202,H302,H304,H306,H401,H402,H403,H404,H802 +ignore = F811,F821,F841,H201,H202,H302,H304,H306,H401,H402,H403,H404,H802 show-source = True exclude = .venv,.tox,dist,doc,*egg |