Skip to content

Commit f73cd50

Browse files
committed
Linted SPDX.py
1 parent e582b55 commit f73cd50

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

SPDX.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
# SPDX-License-Identifier: MIT
44

55
import os
6+
import sys
67

78
print("Starting SPDX Check")
89

@@ -19,7 +20,6 @@
1920
except KeyError:
2021
# If we're running on local machine
2122
BUILD_DIR = os.path.abspath(".")
22-
pass
2323

2424
print(f"Running in {BUILD_DIR}")
2525
files = []
@@ -70,5 +70,5 @@
7070
if fail:
7171
if missing_file:
7272
print("Missing files:", missing_file)
73-
exit(-1)
74-
exit(0)
73+
sys.exit(-1)
74+
sys.exit(0)

0 commit comments

Comments
 (0)