Linted SPDX.py

This commit is contained in:
dherrada 2022-03-02 18:39:48 -05:00
parent e582b5556c
commit f73cd501c6

View file

@ -3,6 +3,7 @@
# SPDX-License-Identifier: MIT
import os
import sys
print("Starting SPDX Check")
@ -19,7 +20,6 @@ except KeyError:
except KeyError:
# If we're running on local machine
BUILD_DIR = os.path.abspath(".")
pass
print(f"Running in {BUILD_DIR}")
files = []
@ -70,5 +70,5 @@ for file in files:
if fail:
if missing_file:
print("Missing files:", missing_file)
exit(-1)
exit(0)
sys.exit(-1)
sys.exit(0)