Skip to content

Commit a313655

Browse files
authored
Merge pull request #105 from Preocts/preocts
Mirgrate tox config to tox.ini
2 parents 887d822 + 47b9d85 commit a313655

2 files changed

Lines changed: 23 additions & 28 deletions

File tree

pyproject.toml

Lines changed: 0 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -98,31 +98,3 @@ exclude_lines =[
9898
"\\.\\.\\.",
9999
"if TYPE_CHECKING:",
100100
]
101-
102-
[tool.tox]
103-
legacy_tox_ini = """
104-
[tox]
105-
envlist = py38,py39,py310,py311,py312,coverage,mypy
106-
skip_missing_interpreters = true
107-
isolated_build = True
108-
109-
[testenv]
110-
deps =
111-
.[test]
112-
commands =
113-
coverage run -p -m pytest tests/
114-
115-
[testenv:coverage]
116-
depends = py38,py39,py310,py311,py312
117-
parallel_show_output = true
118-
commands =
119-
python -m coverage combine
120-
python -m coverage report -m --fail-under=50
121-
python -m coverage json
122-
123-
[testenv:mypy]
124-
deps =
125-
mypy
126-
commands =
127-
mypy -p module_name --no-incremental
128-
"""

tox.ini

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
[tox]
2+
envlist = py38,py39,py310,py311,py312,coverage,mypy
3+
skip_missing_interpreters = true
4+
isolated_build = True
5+
6+
[testenv]
7+
deps =
8+
.[test]
9+
commands =
10+
coverage run -p -m pytest tests/
11+
12+
[testenv:coverage]
13+
depends = py38,py39,py310,py311,py312
14+
commands =
15+
python -m coverage combine
16+
python -m coverage report -m --fail-under=50
17+
python -m coverage json
18+
19+
[testenv:mypy]
20+
deps =
21+
mypy
22+
commands =
23+
mypy -p module_name --no-incremental

0 commit comments

Comments
 (0)