Coverage for pilli/__init__.py: 100.00%

16 statements  

« prev     ^ index     » next       coverage.py v6.4.4, created at 2022-09-03 16:55 +0200

1"""The whistle (Finnish: pilli, German: Der Pfiff) parsing random DAFIF like data.""" 

2import os 

3from typing import List 

4 

5APP_NAME = 'The whistle (Finnish: pilli, German: Der Pfiff) parsing random DAFIF like data.' 

6APP_ALIAS = 'pilli' 

7APP_ENV = 'PILLI' 

8DEBUG = bool(os.getenv(f'{APP_ENV}_DEBUG', '')) 

9VERBOSE = bool(os.getenv(f'{APP_ENV}_VERBOSE', '')) 

10QUIET = False 

11STRICT = bool(os.getenv(f'{APP_ENV}_STRICT', '')) 

12ENCODING = 'utf-8' 

13ENCODING_ERRORS_POLICY = 'ignore' 

14DEFAULT_CONFIG_NAME = '.pilli.json' 

15DEFAULT_LF_ONLY = 'YES' 

16 

17# [[[fill git_describe()]]] 

18__version__ = '2022.7.28+parent.9fb117a4' 

19# [[[end]]] (checksum: a143e8c8551090fa81324b0683ba1a40) 

20__version_info__ = tuple( 

21 e if '-' not in e else e.split('-')[0] for part in __version__.split('+') for e in part.split('.') if e != 'parent' 

22) 

23__all__: List[str] = []