Skip to content

Commit d98ac93

Browse files
authored
chore: Fix tox configuration and add pyproject.toml (#264)
- Add pyproject.toml with setuptools build system configuration - Replace deprecated py.test invocation with pytest - Remove redundant 'pip install -e .' from tox commands, as tox handles package installation itself
1 parent 72d2aaf commit d98ac93

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

pyproject.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[build-system]
2+
requires = ["setuptools"]
3+
build-backend = "setuptools.build_meta"

tox.ini

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22
envlist = py38,py39,py310,py311,py312
33
[testenv]
44
deps = -rrequirements_test.txt
5-
commands = pip install -e .
6-
py.test -s
5+
commands =
6+
pytest
77
flake8

0 commit comments

Comments
 (0)