summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorTim Burke <tim.burke@gmail.com>2020-04-03 10:44:25 -0700
committerAndreas Jaeger <aj@suse.com>2020-04-03 21:22:38 +0200
commit668242c4229d8bdb0f1b2d3183efcc33c6b67154 (patch)
treef2fd174d29d01f6ab135e9930bf9d3bf042437fa /tox.ini
parent96b56519bf5756022d495aedc0033cd44e0e3267 (diff)
downloadswift-668242c4229d8bdb0f1b2d3183efcc33c6b67154.tar.gz
pep8: Turn on E305
Change-Id: Ia968ec7375ab346a2155769a46e74ce694a57fc2
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini3
1 files changed, 1 insertions, 2 deletions
diff --git a/tox.ini b/tox.ini
index c5d554475..68f5bad75 100644
--- a/tox.ini
+++ b/tox.ini
@@ -129,13 +129,12 @@ commands = bandit -c bandit.yaml -r swift -n 5
# H501: Do not use self.__dict__ for string formatting
# Disabled with going to hacking 2.0, needs further investigation and
# changes to enable:
-# E305 expected 2 blank lines after class or function definition, found 1
# E402: module level import not at top of file
# E731 do not assign a lambda expression, use a def
# 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,E305,E402,E731
+ignore = H101,H202,H301,H306,H404,H405,H501,W503,W504,E402,E731
exclude = .venv,.tox,dist,*egg
filename = *.py,bin/*
show-source = True