def __init__(self): Check.__init__(self) self.id = 25 self.version = "0.0.1" iso_file_path = os.path.join( os.path.dirname(os.path.abspath(__file__)), 'resources', 'iso-639.json' ) self.iso_codes = pd.read_json(iso_file_path)
def __init__(self): Check.__init__(self) self.id = 13 self.version = "0.0.1" spdxFilePath = os.path.join( os.path.dirname(os.path.abspath(__file__)), 'resources', 'licenses.json' ) with open(spdxFilePath, "r") as f: licenses_dict = json.load(f) self.licenses = pd.DataFrame(licenses_dict["licenses"])
def __init__(self): Check.__init__(self) self.id = 5 self.version = "0.0.1"