Skip to content

Commit 503f6df

Browse files
committed
fixed plugins bandit warnings
1 parent f0d9449 commit 503f6df

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

plugins/hydra_ray_launcher/integration_test_tools/create_integration_test_ami.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424

2525
def _run_command(command: str) -> str:
2626
print(f"{str(datetime.now())} - Running: {command}")
27-
output = subprocess.getoutput(command)
27+
output = subprocess.getoutput(command) # nosec B605
2828
print(f"{str(datetime.now())} - {output}")
2929
return output
3030

plugins/hydra_ray_launcher/integration_test_tools/setup_integration_test_ami.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
def _run_command(command: str) -> str:
1818
print(f"{str( datetime.now() )} - OUT: {command}")
19-
output = subprocess.getoutput(command)
19+
output = subprocess.getoutput(command) # nosec B605
2020
print(f"{str( datetime.now() )} - OUT: {output}")
2121
return output
2222

plugins/hydra_ray_launcher/tests/test_ray_aws_launcher.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@
129129

130130
def run_command(commands: str) -> str:
131131
log.info(f"running: {commands}")
132-
output = subprocess.getoutput(commands)
132+
output = subprocess.getoutput(commands) # nosec B605
133133
log.info(f"outputs: {output}")
134134
return output
135135

0 commit comments

Comments
 (0)