mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2025-12-12 01:00:29 +08:00
fixed flake8 quotes linter
This commit is contained in:
parent
34da341edc
commit
f08a94ae0f
@ -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
|
||||
|
||||
@ -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]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user