Coverage for asiakirjasuodatin/__init__.py: 0.00%

9 statements  

« prev     ^ index     » next       coverage.py v7.4.1, created at 2024-02-04 15:46:25 +00:00

1"""Document filter (Finnish: asiakirjasuodatin) that read a JSON serialization of the Pandoc AST from stdin, 

2transform it in some way, and write it to stdout.""" 

3 

4import pathlib 

5 

6# [[[fill git_describe()]]] 

7__version__ = '2023.6.24+parent.gbced0c22' 

8# [[[end]]] (checksum: 611dc0b572619a8e9d0247e3e3a79e6c) 

9__version_info__ = tuple( 

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

11) 

12 

13APP_ALIAS = str(pathlib.Path(__file__).parent.name) 

14APP_ENV = APP_ALIAS.upper() 

15APP_NAME = locals()['__doc__'].replace('\n', ' ') 

16 

17VERSION = __version__ 

18VERSION_INFO = __version_info__ 

19 

20__all__ = [ 

21 'APP_ALIAS', 

22 'APP_ENV', 

23 'APP_NAME', 

24 'VERSION', 

25 'VERSION_INFO', 

26]