summaryrefslogtreecommitdiffstats
path: root/tox.ini
diff options
context:
space:
mode:
authorCalum Lind <calumlind@gmail.com>2018-06-01 15:35:19 +0100
committerCalum Lind <calumlind@gmail.com>2018-06-01 23:41:17 +0100
commitd642fa398924913c04eea3c2ddb769a4a6857fc3 (patch)
tree420c6e4d20b5550d1fc2ac2586968df4bf407ac6 /tox.ini
parentbae1647e99e68244607e50633ca67a8c5b16ebfb (diff)
downloaddeluge-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.ini9
1 files changed, 8 insertions, 1 deletions
diff --git a/tox.ini b/tox.ini
index afe8ab1f5..3119c2b8c 100644
--- a/tox.ini
+++ b/tox.ini
@@ -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]