-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathtox.ini
More file actions
36 lines (31 loc) · 676 Bytes
/
tox.ini
File metadata and controls
36 lines (31 loc) · 676 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
# Tox (http://tox.testrun.org/)
[tox]
envlist = py310, py311, py312
[testenv]
deps = coverage
pytest
commands = coverage run -m pytest launchd
[testenv:style]
deps = -rrequirements-style.txt
commands = flake8 {posargs} --count --statistics
flake8 --version
check-manifest -v
# Release tooling
[testenv:build]
skip_install = true
allowlist_externals = rm
deps =
build
commands =
rm -rf build dist
python -m build --sdist --wheel
[testenv:release]
skip_install = true
allowlist_externals = rm
deps =
{[testenv:build]deps}
twine >= 1.5.0
commands =
{[testenv:build]commands}
twine check dist/*
twine upload --skip-existing dist/*