From b24554cef4b1123de5970b991ef46a9e3db993f1 Mon Sep 17 00:00:00 2001 From: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> Date: Mon, 21 Oct 2024 22:49:08 +0300 Subject: [PATCH] Tell tox to use the dependency group in pyproject.toml instead of tox.ini --- pyproject.toml | 5 +++++ tox.ini | 2 -- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index e691bb3..5c92a2e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -98,6 +98,11 @@ filterwarnings = [ ] testpaths = [ "tests" ] +[tool.tox.env_run_base] +dependency-groups = [ + "test", +] + [dependency-groups] test = [ "freezegun", diff --git a/tox.ini b/tox.ini index bd31a3c..81ec8d8 100644 --- a/tox.ini +++ b/tox.ini @@ -19,8 +19,6 @@ commands = --cov-report term \ --cov-report xml \ {posargs} -dependency_groups = - test [testenv:cog] skip_install = true