mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2025-12-12 01:00:29 +08:00
lint fix
This commit is contained in:
parent
f5a6fe35a9
commit
6c385327ff
@ -10,15 +10,16 @@ changedir = /src
|
|||||||
[testenv:flake8]
|
[testenv:flake8]
|
||||||
whitelist_externals = bash
|
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'
|
||||||
|
# FIXME: pyflakes from master to support walrus
|
||||||
deps =
|
deps =
|
||||||
|
git+https://github.com/PyCQA/pyflakes@1911c20#egg=pyflakes
|
||||||
flake8
|
flake8
|
||||||
flake8-quotes
|
flake8-quotes
|
||||||
-rrequirements.txt
|
-rrequirements.txt
|
||||||
|
|
||||||
[testenv:pylint]
|
[testenv:pylint]
|
||||||
whitelist_externals = bash
|
whitelist_externals = bash
|
||||||
commands = bash -c 'pylint --rcfile=testenv/linters/pylint.ini --output-format=colorized --reports=no kvmd testenv/tests genmap.py'
|
commands = bash -c 'pylint --rcfile=testenv/linters/pylint.ini --output-format=colorized --reports=no kvmd testenv/tests *.py'
|
||||||
# TODO: return setup.py back. Now pylint is broken. Again.
|
|
||||||
deps =
|
deps =
|
||||||
pylint
|
pylint
|
||||||
pytest
|
pytest
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user