-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtox.ini
More file actions
43 lines (33 loc) · 827 Bytes
/
tox.ini
File metadata and controls
43 lines (33 loc) · 827 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
[tox]
envlist =
lint
{py39,py310,py311,py313}-test
combine-test-reports
isolated_build = True
[testenv:lint]
description = Run static checkers.
basepython = py39
extras = lint
commands =
# Check formatting
ruff format . --check
# Lint code and docstrings
ruff check .
# Check type hinting
mypy .
[testenv:{py39,py310,py311,py313}-test]
description = Run doc tests and unit tests.
extras = test
commands =
[testenv:combine-test-reports]
description = Combine test and coverage data from multiple test runs.
depends = {py39,py310,py311,py313}-test
commands =
[testenv:docs]
description = Test and build the docs.
extras = docs
commands = sphinx-build -b html -d "docs/build/doctrees" "docs" "docs/build/html"
[testenv:build]
description = Build the package.
extras = build
commands =