diff options
-rw-r--r-- | testenv/linters/flake8.ini | 4 | ||||
-rw-r--r-- | testenv/tox.ini | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/testenv/linters/flake8.ini b/testenv/linters/flake8.ini index b58aef7a..e37c1dfa 100644 --- a/testenv/linters/flake8.ini +++ b/testenv/linters/flake8.ini @@ -1,7 +1,9 @@ [flake8] +inline-quotes = double max-line-length = 160 -ignore = W503, E227, E241, E252 +ignore = W503, E227, E241, E252, Q003 # W503 line break before binary operator # E227 missing whitespace around bitwise or shift operator # E241 multiple spaces after # E252 missing whitespace around parameter equals +# Q003 Change outer quotes to avoid escaping inner quotes diff --git a/testenv/tox.ini b/testenv/tox.ini index 63f417be..ab46fbb8 100644 --- a/testenv/tox.ini +++ b/testenv/tox.ini @@ -12,7 +12,7 @@ whitelist_externals = bash commands = bash -c 'flake8 --config=testenv/linters/flake8.ini kvmd testenv/tests *.py' deps = flake8 - flake8-double-quotes + flake8-quotes -rrequirements.txt [testenv:pylint] |