Coverage for src/phoenixcitoolkitpython/entrypoint.py: 100%

6 statements  

« prev     ^ index     » next       coverage.py v7.15.3, created at 2026-09-17 16:27 +0000

1# Copyright 2026 CNRS 

2# This software is distributed under the terms of the CeCILL-C free software license. 

3 

4"""Example of a python module.""" 

5 

6import logging 

7 

8 

9def doctest_example() -> None: 

10 """Implement a function with an example section with doctest output. 

11 

12 Examples 

13 -------- 

14 >>> 2 * 2 

15 4 

16 """ 

17 

18 

19def main() -> None: 

20 """Implement a dummy main for phoenixcitoolkitpython project.""" 

21 logging.basicConfig(level="INFO", filename="dummy_main.log") 

22 logger = logging.getLogger(__name__) 

23 logger.info("Dummy Main!") 

24 

25 

26if __name__ == "__main__": # pragma: no cover 

27 main()