Skip to content

Commit be8a4d1

Browse files
MNT: Apply Repo-Review suggestions (#3194)
Apply some [Repo-Review](https://learn.scientific-python.org/development/guides/repo-review/?repo=nipreps%2Ffmriprep&branch=master) suggestions. I went for the low-hanging fruits, other changes are more invasive and deserve a PR of their own (for example switching flake8/black/isort to ruff in #3185).
1 parent 04cc9a2 commit be8a4d1

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

pyproject.toml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -139,8 +139,12 @@ per-file-ignores = [
139139
]
140140

141141
[tool.pytest.ini_options]
142+
minversion = "6"
143+
testpaths = ["fmriprep/tests"]
144+
log_cli_level = "INFO"
145+
xfail_strict = true
142146
norecursedirs = [".git"]
143-
addopts = "-svx --doctest-modules"
147+
addopts = ["-svx", "-ra", "--strict-config", "--strict-markers", "--doctest-modules"]
144148
doctest_optionflags = "ALLOW_UNICODE NORMALIZE_WHITESPACE ELLIPSIS"
145149
env = "PYTHONHASHSEED=0"
146150
filterwarnings = ["ignore::DeprecationWarning"]
@@ -173,7 +177,7 @@ extend-select = [
173177
"PT",
174178
"Q",
175179
]
176-
extend-ignore = [
180+
ignore = [
177181
"S311", # We are not using random for cryptographic purposes
178182
"ISC001",
179183
"S603",

wrapper/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ extend-select = [
9292
"PT",
9393
"Q",
9494
]
95-
extend-ignore = [
95+
ignore = [
9696
"S311", # We are not using random for cryptographic purposes
9797
"ISC001",
9898
]

0 commit comments

Comments
 (0)