Skip to content

Commit d2a54e0

Browse files
committed
Ignore Bandit's complain about partial executable path
1 parent 3b75e15 commit d2a54e0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

psydac/api/glt.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -322,7 +322,7 @@ def _compile_pythran(self, namespace):
322322

323323
os.chdir(self.folder)
324324
sys.path.append(self.folder)
325-
subprocess.run(['pythran', f'{module_name}.py', '-O3'])
325+
subprocess.run(['pythran', f'{module_name}.py', '-O3']) # nosec B607
326326
sys.path.remove(self.folder)
327327

328328
# ...

0 commit comments

Comments
 (0)