forked from vacanza/holidays
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtox.ini
More file actions
39 lines (35 loc) · 685 Bytes
/
Copy pathtox.ini
File metadata and controls
39 lines (35 loc) · 685 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
[tox]
requires =
tox>=4.2
env_list =
docs
pre-commit
python3.{12, 11, 10, 9, 8}
skip_missing_interpreters = true
[testenv]
deps =
-r{toxinidir}/requirements/runtime.txt
-r{toxinidir}/requirements/tests.txt
commands =
pytest
[testenv:docs]
base_python = python3.12
deps =
-r{toxinidir}/requirements/docs.txt
-r{toxinidir}/requirements/tests.txt
commands =
make doc
allowlist_externals =
cmd
make
sphinx-build
[testenv:pre-commit]
base_python = python
deps =
pre-commit
commands =
pre-commit autoupdate
pre-commit run --all-files
[pytest]
filterwarnings =
ignore:The --rsyncdir .* are deprecated:DeprecationWarning