Replace bandit with ruff (#93200)

This commit is contained in:
Ville Skyttä
2023-06-08 23:46:04 +03:00
committed by GitHub
parent f7938c940c
commit ca936d0b38
16 changed files with 36 additions and 61 deletions

View File

@@ -12,7 +12,7 @@ async def test_kill_process() -> None:
"""Test killing a process."""
sleeper = subprocess.Popen(
"sleep 1000",
shell=True, # nosec # shell by design
shell=True, # noqa: S602 # shell by design
stdout=subprocess.DEVNULL,
stderr=subprocess.DEVNULL,
)