-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathtox.ini
More file actions
39 lines (34 loc) · 686 Bytes
/
Copy pathtox.ini
File metadata and controls
39 lines (34 loc) · 686 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]
env_list = py310, py311, py312, py313, py314, lint, type, docs, build
skip_missing_interpreters = true
[testenv]
package = editable
extras = dev
commands = python -m pytest src/tests/unit
[testenv:lint]
base_python = python3.10
package = skip
deps = ruff
commands = ruff check src scripts
[testenv:type]
base_python = python3.10
package = skip
deps = pyright
commands = pyright
[testenv:docs]
base_python = python3.10
package = skip
deps =
mkdocs
mkdocs-gen-files
pymdown-extensions
commands = mkdocs build --strict
[testenv:build]
base_python = python3.10
package = skip
deps =
build
twine
commands =
python -m build
python -m twine check dist/*