mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2026-02-02 19:11:54 +08:00
initial commit
This commit is contained in:
37
kvmd/tox.ini
Normal file
37
kvmd/tox.ini
Normal file
@@ -0,0 +1,37 @@
|
||||
[tox]
|
||||
envlist = flake8, pylint, mypy, vulture
|
||||
skipsdist = True
|
||||
|
||||
[testenv]
|
||||
basepython = python3.6
|
||||
|
||||
[testenv:flake8]
|
||||
commands = flake8 kvmd
|
||||
deps =
|
||||
flake8
|
||||
flake8-double-quotes
|
||||
-rdev_requirements.txt
|
||||
|
||||
[testenv:pylint]
|
||||
commands = pylint --output-format=colorized --reports=no kvmd
|
||||
deps =
|
||||
pylint
|
||||
-rdev_requirements.txt
|
||||
|
||||
[testenv:mypy]
|
||||
commands = mypy kvmd
|
||||
deps =
|
||||
mypy
|
||||
-rdev_requirements.txt
|
||||
|
||||
[testenv:vulture]
|
||||
commands = vulture kvmd
|
||||
deps =
|
||||
vulture
|
||||
-rdev_requirements.txt
|
||||
|
||||
[flake8]
|
||||
max-line-length = 160
|
||||
# W503 line break before binary operator
|
||||
# E227 missing whitespace around bitwise or shift operator
|
||||
ignore=W503,E227
|
||||
Reference in New Issue
Block a user