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]
|
||||
whitelist_externals = bash
|
||||
commands = bash -c 'flake8 --config=testenv/linters/flake8.ini kvmd testenv/tests *.py'
|
||||
# FIXME: pyflakes from master to support walrus
|
||||
deps =
|
||||
git+https://github.com/PyCQA/pyflakes@1911c20#egg=pyflakes
|
||||
flake8
|
||||
flake8-quotes
|
||||
-rrequirements.txt
|
||||
|
||||
[testenv:pylint]
|
||||
whitelist_externals = bash
|
||||
commands = bash -c 'pylint --rcfile=testenv/linters/pylint.ini --output-format=colorized --reports=no kvmd testenv/tests genmap.py'
|
||||
# TODO: return setup.py back. Now pylint is broken. Again.
|
||||
commands = bash -c 'pylint --rcfile=testenv/linters/pylint.ini --output-format=colorized --reports=no kvmd testenv/tests *.py'
|
||||
deps =
|
||||
pylint
|
||||
pytest
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user