-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathtox.ini
More file actions
33 lines (28 loc) · 707 Bytes
/
tox.ini
File metadata and controls
33 lines (28 loc) · 707 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
[tox]
envlist = py39,py310,py311,py312,py313,linters,mypy,twine-check
[testenv]
deps =
pytest
pytest-cov
url-matcher
duplicate-url-discarder
commands =
py.test \
--cov-report=term --cov-report= --cov-report=xml \
--cov-report=term-missing --cov=duplicate_url_discarder_rules \
{posargs:duplicate_url_discarder_rules tests}
[testenv:linters]
deps = pre-commit
commands = pre-commit run --all-files --show-diff-on-failure
[testenv:mypy]
deps =
mypy==1.13.0
duplicate-url-discarder
commands = mypy duplicate_url_discarder_rules tests
[testenv:twine-check]
deps =
build
twine
commands =
python -m build --sdist --wheel
twine check dist/*