8000 STY: Enforce ruff/flake8-type-checking rules (TCH) · nipy/nibabel@cb33a49 · GitHub
[go: up one dir, main page]

Skip to content

Commit cb33a49

Browse files
STY: Enforce ruff/flake8-type-checking rules (TCH)
1 parent 39abfa1 commit cb33a49

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+
"TCH",
123+
]
119124
ignore = [
120125
# https://docs.astral.sh/ruff/formatter/#conflicting-lint-rules
121126
"W191",

0 commit comments

Comments
 (0)
0