Skip to content

Commit b143d57

Browse files
committed
mv pytest config to pyproject.toml
1 parent add0469 commit b143d57

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

pyproject.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,10 @@ stagpy = ["py.typed", "_styles/stagpy-*.mplstyle"]
5252
[tool.setuptools_scm]
5353
write_to = "stagpy/_version.py"
5454

55+
[tool.pytest.ini_options]
56+
testpaths = ["tests"]
57+
python_files = ["test_*.py"]
58+
5559
[tool.mypy]
5660
disallow_untyped_defs = true
5761

tox.ini

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,6 @@ deps =
3131
commands=
3232
mypy --install-types --non-interactive stagpy/ tests/
3333

34-
[pytest]
35-
testpaths = tests
36-
python_files = test_*.py
37-
3834
[testenv:fmt]
3935
skip_install = true
4036
deps =

0 commit comments

Comments
 (0)