fixed flake8 quotes linter

This commit is contained in:
Devaev Maxim 2019-10-19 19:37:48 +03:00
parent 34da341edc
commit f08a94ae0f
2 changed files with 4 additions and 2 deletions

View File

@ -1,7 +1,9 @@
[flake8] [flake8]
inline-quotes = double
max-line-length = 160 max-line-length = 160
ignore = W503, E227, E241, E252 ignore = W503, E227, E241, E252, Q003
# W503 line break before binary operator # W503 line break before binary operator
# E227 missing whitespace around bitwise or shift operator # E227 missing whitespace around bitwise or shift operator
# E241 multiple spaces after # E241 multiple spaces after
# E252 missing whitespace around parameter equals # E252 missing whitespace around parameter equals
# Q003 Change outer quotes to avoid escaping inner quotes

View File

@ -12,7 +12,7 @@ whitelist_externals = bash
commands = bash -c 'flake8 --config=testenv/linters/flake8.ini kvmd testenv/tests *.py' commands = bash -c 'flake8 --config=testenv/linters/flake8.ini kvmd testenv/tests *.py'
deps = deps =
flake8 flake8
flake8-double-quotes flake8-quotes
-rrequirements.txt -rrequirements.txt
[testenv:pylint] [testenv:pylint]