summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tox.ini5
1 files changed, 3 insertions, 2 deletions
diff --git a/tox.ini b/tox.ini
index 57b20568..725a0ca4 100644
--- a/tox.ini
+++ b/tox.ini
@@ -48,11 +48,12 @@ deps = -r{toxinidir}/test-requirements.txt
# E126: continuation line over-indented for hanging indent
# E226: missing whitespace around arithmetic operator
# E241: multiple spaces after ‘,’
-# E402: module level import not at top of file
# W503: line break before binary operator
# W504: line break after binary operator
-ignore=E121,E123,E126,E226,E241,E402,W503,W504
+ignore=E121,E123,E126,E226,E241,W503,W504
exclude = .venv,.tox,dist,doc,*egg,.git,build,tools
+per-file-ignores =
+ cloudinit/cmd/main.py:E402
[testenv:doc]
basepython = python3