-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtox.ini
More file actions
87 lines (76 loc) · 1.56 KB
/
tox.ini
File metadata and controls
87 lines (76 loc) · 1.56 KB
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
[tox]
envlist = py39,py310,py311,py312,lint,type-check
isolated_build = true
[testenv]
# Install dependencies via standard tox, use uv for editable install
deps =
pytest>=7.0
pytest-cov>=4.0
# Install the package itself in editable mode
commands_pre =
pip install -e .
commands =
pytest tests/ -v --cov=helm_values_manager --cov-report=xml --cov-report=term
setenv =
FORCE_COLOR = 0
NO_COLOR = 1
TERM = dumb
# Python version specific environments
[testenv:py3.9]
basepython = python3.9
[testenv:py3.10]
basepython = python3.10
[testenv:py3.11]
basepython = python3.11
[testenv:py3.12]
basepython = python3.12
[testenv:lint]
deps =
ruff>=0.1.0
commands =
ruff check .
ruff format --check .
[testenv:type-check]
deps =
mypy>=1.0
types-PyYAML
types-setuptools
commands_pre =
pip install -e .
commands =
mypy helm_values_manager --ignore-missing-imports
[testenv:integration]
deps =
pytest>=7.0
commands_pre =
pip install -e .
commands =
pytest tests/test_integration.py -v --override-ini="addopts="
setenv =
FORCE_COLOR = 0
NO_COLOR = 1
TERM = dumb
[testenv:docs]
deps =
mkdocs
mkdocs-material
commands =
mkdocs build --strict
[coverage:run]
source = helm_values_manager
omit =
*/tests/*
*/venv/*
*/__pycache__/*
[coverage:report]
exclude_lines =
pragma: no cover
def __repr__
if self.debug:
if settings.DEBUG
raise AssertionError
raise NotImplementedError
if 0:
if __name__ == .__main__.:
class .*\bProtocol\):
@(abc\.)?abstractmethod