-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathtox.ini
More file actions
38 lines (33 loc) · 791 Bytes
/
tox.ini
File metadata and controls
38 lines (33 loc) · 791 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
# Copyright (c) Alianza, Inc. All rights reserved.
[tox]
skipsdist = True
envlist = py310, py311, py312, ruff, mypy, coverage
[gh-actions]
python =
3.10: py310, ruff, mypy, coverage
3.11: py311
3.12: py312
[testenv]
allowlist_externals = uv
skip_install = true
commands =
uv pip install -e .
uv run --active pytest tests/
[testenv:ruff]
allowlist_externals = uv
skip_install = true
commands =
uv pip install -e .
uv run --active ruff check src/ tests/
[testenv:mypy]
allowlist_externals = uv
skip_install = true
commands =
uv pip install -e .
uv run --active mypy -p announcer --ignore-missing-imports
[testenv:coverage]
allowlist_externals = uv
skip_install = true
commands =
uv pip install -e .
uv run --active pytest --cov=announcer tests