forked from Perfexionists/perun
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
49 lines (44 loc) · 984 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
[tox]
requires =
tox>=4
env_list =
py{3.9, 3.10, 3.11, 3.12, 3.13}
lint
typing
docs
editable
[testenv:editable]
description = Run Perun tests in editable install
package = editable
allowlist_externals = make
extras = test
commands =
make test-ci
[testenv]
description = Run Perun tests
allowlist_externals = make
extras = test
commands =
make test-ci
[testenv:lint]
description = Run code style checker Pylint
allowlist_externals = make
extras = lint
commands =
make lint
[testenv:typing]
# We can't skip install as some of our dependencies ship type hints directly in their core package
# and not as a standalone typeshed package.
description = Run static type checker Mypy
allowlist_externals = make
extras = typing
commands =
make check
[testenv:docs]
description = Generate Sphinx HTML documentation
allowlist_externals = make
extras = docs
commands =
make docs
[pytest]
norecursedirs = docs *.egg-info .git .tox build .mypy_cache