mirror of
https://github.com/home-assistant/core.git
synced 2025-11-09 02:49:40 +00:00
Replace bandit with ruff (#93200)
This commit is contained in:
@@ -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,
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user