-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
151 lines (130 loc) · 3.82 KB
/
tox.ini
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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
[tox]
skipsdist = True
envlist =
py3{9,10,11,12}-{module,ruff,lizard,mypy}
ruff
mypy
lizard
skip_missing_interpreters = True
[testenv]
deps = -rrequirements-dev.lock
commands =
python3 -m pytest --cov-config=pyproject.toml --cov=. --cov-report=html --cov-report=xml --cov-report=term-missing tests
[testenv:module]
deps = -rrequirements-dev.lock
commands =
python3 -m pytest --cov-config=pyproject.toml --cov=. --cov-report=html --cov-report=xml --cov-report=term-missing tests
[testenv:py39-module]
deps = -rrequirements-dev.lock
commands =
python3 -m pytest --cov-config=pyproject.toml --cov=. --cov-report=html --cov-report=xml --cov-report=term-missing tests
[testenv:py310-module]
deps = -rrequirements-dev.lock
commands =
python3 -m pytest --cov-config=pyproject.toml --cov=. --cov-report=html --cov-report=xml --cov-report=term-missing tests
[testenv:py311-module]
deps = -rrequirements-dev.lock
commands =
python3 -m pytest --cov-config=pyproject.toml --cov=. --cov-report=html --cov-report=xml --cov-report=term-missing tests
[testenv:py312-module]
deps =
setuptools
-rrequirements-dev.lock
commands =
python3 -m pytest --cov-config=pyproject.toml --cov=. --cov-report=html --cov-report=xml --cov-report=term-missing tests
[testenv:ruff]
skip_install = true
deps = -rrequirements-dev.lock
commands =
ruff check src/rdetoolkit/
[testenv:py39-ruff]
skip_install = true
deps = -rrequirements-dev.lock
commands =
ruff check src/rdetoolkit/
[testenv:py310-ruff]
skip_install = true
deps = -rrequirements-dev.lock
commands =
ruff check src/rdetoolkit/
[testenv:py311-ruff]
skip_install = true
deps = -rrequirements-dev.lock
commands =
ruff check src/rdetoolkit/
[testenv:py312-ruff]
skip_install = true
deps =
setuptools
-rrequirements-dev.lock
commands =
ruff check src/rdetoolkit/
[testenv:lizard]
skip_install = true
deps = -rrequirements-dev.lock
commands =
# Due to not having been able to refactor.
lizard src/rdetoolkit/workflows.py -C 16
lizard src/rdetoolkit/__main__.py -C 10
lizard src/rdetoolkit/ -C 10 -x src/rdetoolkit/workflows.py -x src/rdetoolkit/__main__.py
[testenv:py39-lizard]
skip_install = true
deps = -rrequirements-dev.lock
commands =
# Due to not having been able to refactor.
lizard src/rdetoolkit/workflows.py -C 16
lizard src/rdetoolkit/__main__.py -C 10
lizard src/rdetoolkit/ -C 10 -x src/rdetoolkit/workflows.py -x src/rdetoolkit/__main__.py
[testenv:py310-lizard]
skip_install = true
deps = -rrequirements-dev.lock
commands =
# Due to not having been able to refactor.
lizard src/rdetoolkit/workflows.py -C 16
lizard src/rdetoolkit/__main__.py -C 10
lizard src/rdetoolkit/ -C 10 -x src/rdetoolkit/workflows.py -x src/rdetoolkit/__main__.py
[testenv:py311-lizard]
skip_install = true
deps = -rrequirements-dev.lock
commands =
# Due to not having been able to refactor.
lizard src/rdetoolkit/workflows.py -C 16
lizard src/rdetoolkit/__main__.py -C 10
lizard src/rdetoolkit/ -C 10 -x src/rdetoolkit/workflows.py -x src/rdetoolkit/__main__.py
[testenv:py312-lizard]
skip_install = true
deps =
setuptools
-rrequirements-dev.lock
commands =
# Due to not having been able to refactor.
lizard src/rdetoolkit/workflows.py -C 16
lizard src/rdetoolkit/__main__.py -C 10
lizard src/rdetoolkit/ -C 10 -x src/rdetoolkit/workflows.py -x src/rdetoolkit/__main__.py
[testenv:mypy]
skip_install = true
deps = -rrequirements-dev.lock
commands =
mypy src/
[testenv:py39-mypy]
skip_install = true
deps = -rrequirements-dev.lock
commands =
mypy src/
[testenv:py310-mypy]
skip_install = true
deps = -rrequirements-dev.lock
commands =
mypy src/
[testenv:py311-mypy]
skip_install = true
deps = -rrequirements-dev.lock
commands =
mypy src/
[testenv:py312-mypy]
skip_install = true
deps =
setuptools
-rrequirements-dev.lock
commands =
mypy src/