summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.com>2020-04-30 16:23:24 +0200
committerAndreas Jaeger <aj@suse.com>2020-04-30 16:33:43 +0200
commit7f770b95b88210879c0c44ebc1c6d1f589c6c0ea (patch)
treea0693360f96fa84eebb2cabc1f558dbc51956476 /tox.ini
parent21ed14736e54164607a85a87f18a488aab214987 (diff)
downloadheat-7f770b95b88210879c0c44ebc1c6d1f589c6c0ea.tar.gz
Update pep8 rules
Remove E402 from flake8 list, issues are fixed or addressed with noqa. Remove E305 as comment, the warning is enabled. Enable E241 and fix all problems Change-Id: Ifd2bbce98be4206908da769df686a370328c7ee1
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini5
1 files changed, 1 insertions, 4 deletions
diff --git a/tox.ini b/tox.ini
index 410b3325a..c3bbca5ff 100644
--- a/tox.ini
+++ b/tox.ini
@@ -110,12 +110,9 @@ commands = bandit -r heat -x tests --skip B101,B104,B107,B110,B310,B311,B404,B41
show-source = true
# E123 closing bracket does not match indentation of opening bracket's line
# E226 missing whitespace around arithmetic operator
-# E241 multiple spaces after ','
-# E305 expected 2 blank lines after class or function definition, found 1
-# E402 module level import not at top of file
# W503 line break before binary operator
# W504 line break after binary operator
-ignore = E123,E226,E241,E402,W503,W504
+ignore = E123,E226,W503,W504
exclude=.*,dist,*lib/python*,*egg,build,*convergence/scenarios/*
max-complexity=23