feat/more-ruff (#5559)
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
Co-authored-by: Darragh Elliott <me@delliott.net> Reviewed-on: #5559 Co-authored-by: delliott <delliott@fsfe.org> Co-committed-by: delliott <delliott@fsfe.org>
This commit was merged in pull request #5559.
This commit is contained in:
@@ -87,7 +87,8 @@ def run_command(commands: list[str]) -> str:
|
||||
and command error handling across the project.
|
||||
"""
|
||||
try:
|
||||
result = subprocess.run(
|
||||
result = subprocess.run( # noqa: S603 allow callsing subprocess without knowing the args
|
||||
# we validate that they are okay elsewhere in the code
|
||||
commands,
|
||||
capture_output=True,
|
||||
# Get output as str instead of bytes
|
||||
|
||||
Reference in New Issue
Block a user