Skip to content

Commit 921dd34

Browse files
Apply Repo-Review rule PP006
The dev dependency group should be defined
1 parent 544bbbb commit 921dd34

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

pyproject.toml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ Paper = "https://doi.org/10.1038/s41592-018-0235-4"
5252
"Docker Images" = "https://hub.docker.com/r/nipreps/fmriprep/tags/"
5353
NiPreps = "https://www.nipreps.org/"
5454

55-
[project.optional-dependencies]
55+
[dependency-groups]
5656
doc = [
5757
"pydot >= 1.2.3",
5858
"sphinx >= 5",
@@ -204,6 +204,10 @@ env = "PYTHONHASHSEED=0"
204204
filterwarnings = ["ignore::DeprecationWarning"]
205205
junit_family = "xunit2"
206206

207+
[tool.tox.env.testing]
208+
dependency_groups = ["test"]
209+
commands = ["pytest"]
210+
207211
[tool.ruff]
208212
line-length = 99
209213

tox.ini

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@ pass_env =
3838
CLICOLOR
3939
CLICOLOR_FORCE
4040
PYTHON_GIL
41-
extras = test
4241
setenv =
4342
pre: PIP_EXTRA_INDEX_URL=https://pypi.anaconda.org/scientific-python-nightly-wheels/simple
4443
pre: UV_INDEX=https://pypi.anaconda.org/scientific-python-nightly-wheels/simple

0 commit comments

Comments
 (0)