Coverage for mh/mh.py: 100%
10 statements
« prev ^ index » next coverage.py v6.4.1, created at 2022-06-04 11:41 +0100
« prev ^ index » next coverage.py v6.4.1, created at 2022-06-04 11:41 +0100
1"""Eg code to start a project with."""
4import logging
5import mhlib.eg
8logger = logging.getLogger(__name__)
10EG_VAR = 'ABCD'
13def test_function() -> str:
14 """An example function that returns a string.
16 Returns:
17 Always returns the same value.
18 """
20 return 'OK'
23class Mh (object):
24 """An example class."""
25 def run_mh(self) -> int:
26 """An example member function.
28 Returns:
29 Always returns the same value.
30 """
31 logger.info('OK fo far')
32 return 100