Skip to content

Commit b24554c

Browse files
committed
Tell tox to use the dependency group in pyproject.toml instead of tox.ini
1 parent b0f700e commit b24554c

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

pyproject.toml

+5
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,11 @@ filterwarnings = [
9898
]
9999
testpaths = [ "tests" ]
100100

101+
[tool.tox.env_run_base]
102+
dependency-groups = [
103+
"test",
104+
]
105+
101106
[dependency-groups]
102107
test = [
103108
"freezegun",

tox.ini

-2
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,6 @@ commands =
1919
--cov-report term \
2020
--cov-report xml \
2121
{posargs}
22-
dependency_groups =
23-
test
2422

2523
[testenv:cog]
2624
skip_install = true

0 commit comments

Comments
 (0)