Skip to content

Commit 6295703

Browse files
pjonssonomad
authored andcommitted
ruff: enable flake8-bandit rules
1 parent ce3eeb6 commit 6295703

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

pyproject.toml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,12 +185,15 @@ select = [
185185
"NPY", # Numpy
186186
"RET", # flake8-ret
187187
# "RUF", # Ruf-specific python rules?
188-
# "S", # Bandit (security) -- explore warnings and enable in future?
188+
"S", # flake8-bandit
189189
]
190190
ignore = [
191+
"S101", # Many asserts are used for type checking.
191192
# FIXME: re-enable these rules.
192193
"B023",
193194
"B905",
195+
"S310",
196+
"S608",
194197
]
195198

196199
[tool.ruff.lint.per-file-ignores]

0 commit comments

Comments
 (0)