From 0885f47453b10727938719fc738997ca606343df Mon Sep 17 00:00:00 2001 From: Steve Traylen Date: Sat, 9 May 2026 11:33:46 +0200 Subject: [PATCH] Fix tox configuration and add pyproject.toml - 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 --- pyproject.toml | 3 +++ tox.ini | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) create mode 100644 pyproject.toml diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..fed528d --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,3 @@ +[build-system] +requires = ["setuptools"] +build-backend = "setuptools.build_meta" diff --git a/tox.ini b/tox.ini index e313b34..08aa2c4 100644 --- a/tox.ini +++ b/tox.ini @@ -2,6 +2,6 @@ envlist = py38,py39,py310,py311,py312 [testenv] deps = -rrequirements_test.txt -commands = pip install -e . - py.test -s +commands = + pytest flake8