diff options
author | Devaev Maxim <[email protected]> | 2019-10-19 19:37:48 +0300 |
---|---|---|
committer | Devaev Maxim <[email protected]> | 2019-10-19 19:37:48 +0300 |
commit | f08a94ae0f4af288ea82dd70d49bb6b5e314fd06 (patch) | |
tree | f95d0ac029ab882e1e3753ab05eaf8cc272cf1f5 | |
parent | 34da341edc5f319a0bb0c77937470ad7cb58a140 (diff) |
fixed flake8 quotes linter
-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] |