Skip to content

Commit 57effbf

Browse files
STY: Enforce ruff/flake8-bugbear rules (B)
1 parent b016ac7 commit 57effbf

File tree

1 file changed

+16
-1
lines changed

1 file changed

+16
-1
lines changed

pyproject.toml

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,8 +115,23 @@ 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+
"B",
120+
"F",
121+
"I",
122+
"Q",
123+
]
119124
ignore = [
125+
"B006", # TODO: enable
126+
"B008", # TODO: enable
127+
"B007",
128+
"B011",
129+
"B017", # TODO: enable
130+
"B018",
131+
"B020",
132+
"B023", # TODO: enable
133+
"B028",
134+
"B904",
120135
# https://docs.astral.sh/ruff/formatter/#conflicting-lint-rules
121136
"W191",
122137
"E111",

0 commit comments

Comments
 (0)