diff options
author | Calum Lind <calumlind@gmail.com> | 2018-06-01 15:35:19 +0100 |
---|---|---|
committer | Calum Lind <calumlind@gmail.com> | 2018-06-01 23:41:17 +0100 |
commit | d642fa398924913c04eea3c2ddb769a4a6857fc3 (patch) | |
tree | 420c6e4d20b5550d1fc2ac2586968df4bf407ac6 /tox.ini | |
parent | bae1647e99e68244607e50633ca67a8c5b16ebfb (diff) | |
download | deluge-d642fa398924913c04eea3c2ddb769a4a6857fc3.tar.gz deluge-d642fa398924913c04eea3c2ddb769a4a6857fc3.tar.bz2 deluge-d642fa398924913c04eea3c2ddb769a4a6857fc3.zip |
Fix files to pass new Flake8 checkers
Some new flake8 checkers were added so fix these new warnings and
any issues uncovered.
Use add-trailing-comma to fix missing trailing commas. It does not
format it as well as I would like however it was fast to change and
helps with git changes in future.
Removed pylint from tox due to large number of warnings.
Diffstat (limited to 'tox.ini')
-rw-r--r-- | tox.ini | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -7,12 +7,19 @@ max-line-length = 120 builtins = _,_n,__request__ exclude = .git,.tox,dist,build +ignore = +# A003 Class attribute is a python builtin. + A003, +# C813, C815, C816: PY3 missing trailing commas. + C813,C815,C816, +# W503 line break before binary operator. + W503, [pycodestyle] max-line-length = 120 [tox] -envlist = py27, flake8, docs, pylint +envlist = py27, flake8, docs minversion=1.8 [testenv] |