Coverage for mh/mh.py: 100%

10 statements  

« prev     ^ index     » next       coverage.py v6.4.1, created at 2022-06-04 11:41 +0100

1"""Eg code to start a project with.""" 

2 

3 

4import logging 

5import mhlib.eg 

6 

7 

8logger = logging.getLogger(__name__) 

9 

10EG_VAR = 'ABCD' 

11 

12 

13def test_function() -> str: 

14 """An example function that returns a string. 

15  

16 Returns: 

17 Always returns the same value. 

18 """ 

19 

20 return 'OK' 

21 

22 

23class Mh (object): 

24 """An example class.""" 

25 def run_mh(self) -> int: 

26 """An example member function. 

27 

28 Returns: 

29 Always returns the same value. 

30 """ 

31 logger.info('OK fo far') 

32 return 100