Skip to content

Commit 4d11b3e

Browse files
committed
MNT: Update ruff config to deal with warnings
1 parent f7330d9 commit 4d11b3e

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

pyproject.toml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,8 @@ junit_family = "xunit2"
148148

149149
[tool.ruff]
150150
line-length = 99
151+
152+
[tool.ruff.lint]
151153
extend-select = [
152154
"F",
153155
"E",
@@ -173,12 +175,13 @@ extend-select = [
173175
]
174176
extend-ignore = [
175177
"S311", # We are not using random for cryptographic purposes
178+
"ISC001",
176179
]
177180

178-
[tool.ruff.flake8-quotes]
181+
[tool.ruff.lint.flake8-quotes]
179182
inline-quotes = "single"
180183

181-
[tool.ruff.extend-per-file-ignores]
184+
[tool.ruff.lint.extend-per-file-ignores]
182185
"*/test_*.py" = ["S101"]
183186
"fmriprep/utils/debug.py" = ["A002", "T100"]
184187
"docs/conf.py" = ["A001"]

0 commit comments

Comments
 (0)