Coverage for stativ/__init__.py: 100.00%
17 statements
« prev ^ index » next coverage.py v7.4.1, created at 2024-02-04 22:28:28 +00:00
« prev ^ index » next coverage.py v7.4.1, created at 2024-02-04 22:28:28 +00:00
1"""Tripod (Denish: stativ) - manage the back end of Binaries Repository Management (BRM) systems like a tripod."""
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.10.21+parent.e17e34ad'
22# [[[end]]] (checksum: 236e89dfa601be667bceab3da3302906)
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] = []