forked from keylime/keylime
-
Notifications
You must be signed in to change notification settings - Fork 1
/
tox.ini
53 lines (45 loc) · 967 Bytes
/
tox.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
[tox]
minversion = 3.18.0
envlist = py3,py36,pylint,pylint36
skipsdist = True
ignore_basepython_conflict=true
[testenv]
basepython = python3
usedevelop = True
setenv =
VIRTUAL_ENV={envdir}
[testenv:pylint]
deps =
-r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
pylint
commands = bash scripts/check_codestyle.sh
allowlist_externals = bash
[testenv:mypy]
deps =
-r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
mypy
commands =
mypy keylime/
[testenv:pylint36]
basepython = python3.6
deps =
-r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
pylint
commands = bash scripts/check_codestyle.sh
allowlist_externals = bash
[testenv:pyright]
deps =
-r{toxinidir}/requirements.txt
pyright
commands = pyright
[testenv:black]
deps =
black
commands = black --diff ./keylime ./test
[testenv:isort]
deps =
isort
commands = isort --diff --check ./keylime ./test