Skip to content

Commit 4857576

Browse files
committed
Disable "Bandit" issues.
1 parent 3635605 commit 4857576

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

colour_checker_detection/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
import cv2
1616
import numpy as np
1717
import os
18-
import subprocess
18+
import subprocess # nosec
1919

2020
import colour
2121

@@ -53,7 +53,7 @@
5353
__change_version__)) # yapf: disable
5454

5555
try:
56-
version = subprocess.check_output(
56+
version = subprocess.check_output( # nosec
5757
['git', 'describe'], cwd=os.path.dirname(__file__)).strip()
5858
version = version.decode('utf-8')
5959
except Exception:

0 commit comments

Comments
 (0)