File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 5
5
"""
6
6
7
7
import os
8
- import subprocess # nosec - Needed for hook
8
+ import subprocess # nosec
9
9
from pathlib import Path
10
10
from typing import List , Optional
11
11
@@ -18,7 +18,7 @@ def get_output(command: List[str]) -> str:
18
18
:param str command: the command to run
19
19
:returns: the stdout output of the command
20
20
"""
21
- result = subprocess .run (command , stdout = subprocess .PIPE , check = True ) # nosec - trusted input
21
+ result = subprocess .run (command , stdout = subprocess .PIPE , check = True ) # nosec
22
22
return result .stdout .decode ()
23
23
24
24
Original file line number Diff line number Diff line change 9
9
import posixpath
10
10
import re
11
11
import stat
12
- import subprocess # nosec: Needed for gitignore support.
12
+ import subprocess # nosec # Needed for gitignore support.
13
13
import sys
14
14
from dataclasses import dataclass , field
15
15
from pathlib import Path
You can’t perform that action at this time.
0 commit comments