Skip to content

Commit f81ec73

Browse files
STY: Enforce ruff/flake8-pytest-style rules (PT)
1 parent 967d189 commit f81ec73

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

pyproject.toml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,8 +115,19 @@ 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+
"PT",
122+
"Q",
123+
]
119124
ignore = [
125+
"PT004",
126+
"PT007",
127+
"PT011",
128+
"PT012",
129+
"PT017",
130+
"PT018",
120131
# https://docs.astral.sh/ruff/formatter/#conflicting-lint-rules
121132
"W191",
122133
"E111",

0 commit comments

Comments
 (0)