Coverage for gengive/__init__.py: 100.00%
17 statements
« prev ^ index » next coverage.py v7.4.1, created at 2024-02-04 18:32:40 +00:00
« prev ^ index » next coverage.py v7.4.1, created at 2024-02-04 18:32:40 +00:00
1"""Render text (Danish: gengive tekst)."""
3import os
4import pathlib
5from typing import List
7APP_ALIAS = str(pathlib.Path(__file__).parent.name)
8APP_ENV = APP_ALIAS.upper()
9APP_NAME = locals()['__doc__']
10DEBUG = bool(os.getenv(f'{APP_ENV}_DEBUG', ''))
11VERBOSE = bool(os.getenv(f'{APP_ENV}_VERBOSE', ''))
12QUIET = False
13STRICT = bool(os.getenv(f'{APP_ENV}_STRICT', ''))
14ENCODING = 'utf-8'
15ENCODING_ERRORS_POLICY = 'ignore'
16DEFAULT_CONFIG_NAME = f'.{APP_ALIAS}.json'
18DEFAULT_LF_ONLY = 'YES'
20# [[[fill git_describe()]]]
21__version__ = '2023.6.19+parent.365b32fd'
22# [[[end]]] (checksum: 9dc45f1fac14aaef6add1a675c4d9f13)
23__version_info__ = tuple(
24 e if '-' not in e else e.split('-')[0] for part in __version__.split('+') for e in part.split('.') if e != 'parent'
25)
26__all__: List[str] = []