librarystandards.py

Thu, 26 Aug 2021 22:04:33 +0300

author
Teemu Piippo <teemu@hecknology.net>
date
Thu, 26 Aug 2021 22:04:33 +0300
changeset 152
5e347a96869a
parent 96
70f8049623ec
permissions
-rw-r--r--

removed some alias tests that aren't mandated by the official header specification

from configparser import ConfigParser
from pathlib import Path
from os.path import dirname

ini_path = Path(dirname(__file__)) / 'library-standards.ini'
library_standards = ConfigParser()

with ini_path.open() as file:
    library_standards.read_file(file)

mercurial