-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathtox.ini
More file actions
53 lines (46 loc) · 944 Bytes
/
tox.ini
File metadata and controls
53 lines (46 loc) · 944 Bytes
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]
envlist = py3{10,11,12,13,14}
isolated_build = true
pass_env =
CONAN_USER_HOME
[testenv]
commands = pytest --basetemp={envtmpdir} {env:pytest_args:} {posargs}
pass_env =
INCLUDE
LIB
LIBPATH
dependency_groups = test
[testenv:mypy]
deps =
mypy
lxml
types-toml
types-pyyaml
types-setuptools
skip_install=True
setenv = MYPY_CACHE_DIR = {temp_dir}/.mypy_cache
commands = mypy {posargs: -p uiucprescon.build}
[testenv:flake8]
description = check the code style
deps =
flake8
skip_install=True
commands = flake8 {posargs: src}
[testenv:pylint]
description = check the code style
deps =
pylint
skip_install=True
commands = pylint {posargs: src}
[testenv:pydocstyle]
skip_install = true
deps=
pydocstyle
commands =
pydocstyle {posargs: {toxinidir}/src}
[testenv:bandit]
skip_install = true
deps=
bandit
commands =
bandit {posargs: -c pyproject.toml --recursive {toxinidir}/src}