summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorTim Burke <tim.burke@gmail.com>2020-05-13 00:24:08 -0700
committerTim Burke <tim.burke@gmail.com>2020-05-13 00:24:13 -0700
commit0fd23ee5466d5dd0a69c918bc7a206e697a4eecc (patch)
tree415b44a76fa203e686dd272fbf4107761551fa65 /tox.ini
parentd050ef82f7f49836a987ce7628fa9ba42b80fa94 (diff)
downloadswift-0fd23ee5466d5dd0a69c918bc7a206e697a4eecc.tar.gz
Fix pep8 job
New flake8 came out with new & improved rules. Ignore E741; it would be too much churn. Fix the rest. Change-Id: I9125c8c53423232309a75cbcc5b695b378864c1b
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini3
1 files changed, 2 insertions, 1 deletions
diff --git a/tox.ini b/tox.ini
index 21e044fb1..9d95fecb7 100644
--- a/tox.ini
+++ b/tox.ini
@@ -143,10 +143,11 @@ commands = bandit -c bandit.yaml -r swift -n 5
# changes to enable:
# E402: module level import not at top of file
# E731 do not assign a lambda expression, use a def
+# E741 ambiguous variable name
# Swift team needs to decide if they want to enable either of these:
# W503: line break before binary operator
# W504: line break after binary operator
-ignore = H101,H202,H301,H306,H404,H405,H501,W503,W504,E402,E731
+ignore = H101,H202,H301,H306,H404,H405,H501,W503,W504,E402,E731,E741
exclude = .venv,.tox,dist,*egg
filename = *.py,bin/*
show-source = True