Skip to content

Commit f496470

Browse files
committed
relocate nosec
Signed-off-by: Thomas Sjögren <konstruktoid@users.noreply.github.com>
1 parent 74c0918 commit f496470

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tymely/tymely.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,9 +131,9 @@ def main():
131131
date_cmd = shutil.which("date")
132132
subprocess.run(
133133
[date_cmd, "-s", date_str],
134-
shell=False,
134+
shell=False, # nosec B603
135135
check=True,
136-
) # nosec B603,S603
136+
)
137137
except UnboundLocalError as exception_string:
138138
print("Exception:", str(exception_string), file=sys.stderr)
139139
sys.exit(1)

0 commit comments

Comments
 (0)