Coverage for src/ensae_projects/__init__.py: 85%

13 statements  

« prev     ^ index     » next       coverage.py v7.1.0, created at 2023-07-20 04:37 +0200

1# -*- coding: utf-8 -*- 

2""" 

3@file 

4@brief Module *ensae_projects*. 

5Compilation of materials for presentations. 

6""" 

7 

8import sys 

9import os 

10 

11__version__ = "0.3.690" 

12__author__ = "Xavier Dupré" 

13__github__ = "https://github.com/sdpython/ensae_projects" 

14__url__ = "http://www.xavierdupre.fr/app/ensae_projects/helpsphinx/index.html" 

15__license__ = "MIT License" 

16__blog__ = os.path.abspath( 

17 os.path.join(os.path.dirname(__file__), "rss_ensae_projects.xml")) 

18 

19 

20def _setup_hook(): 

21 """ 

22 does nothing 

23 """ 

24 pass 

25 

26 

27def check(log=False): 

28 """ 

29 Checks the library is working. 

30 It raises an exception. 

31 

32 @param log if True, display information, otherwise 

33 @return 0 or exception 

34 """ 

35 return True