Skip to content

Commit bc954e7

Browse files
committed
Silencing bandit inline
1 parent caf141c commit bc954e7

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

pyproject.toml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -342,6 +342,3 @@ exclude = [".env/**", ".venv/**"]
342342
pythonVersion = "3.13"
343343
typeCheckingMode="basic"
344344
disableBytesTypePromotions = true
345-
346-
[tool.bandit]
347-
skips = ["B310"]

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ def _download_and_extract(self, filename: str) -> pathlib.Path:
258258
if not fpath.exists():
259259
print(f"> from {url}")
260260
with (
261-
urllib.request.urlopen(url) as response, # noqa: S310
261+
urllib.request.urlopen(url) as response, # noqa: S310 # nosec B310
262262
open(fpath, "wb") as fh, # nosec
263263
): # nosec
264264
fh.write(response.read())

0 commit comments

Comments
 (0)