Skip to content

Commit 2dc1cf4

Browse files
STY: Enforce ruff/flake8-raise rules (RSE)
1 parent 8a4fd9e commit 2dc1cf4

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

pyproject.toml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,12 @@ line-length = 99
115115
exclude = ["doc", "nibabel/externals", "tools", "version.py", "versioneer.py"]
116116

117117
[tool.ruff.lint]
118-
select = ["F", "I", "Q"]
118+
select = [
119+
"F",
120+
"I",
121+
"Q",
122+
"RSE",
123+
]
119124
ignore = [
120125
# https://docs.astral.sh/ruff/formatter/#conflicting-lint-rules
121126
"W191",

0 commit comments

Comments
 (0)