Coverage for src/bob/bio/base/preprocessor/__init__.py: 100%

6 statements  

« prev     ^ index     » next       coverage.py v7.6.5, created at 2024-11-14 21:41 +0100

1# isort: skip_file 

2from .Preprocessor import Preprocessor 

3 

4 

5# gets sphinx autodoc done right - don't remove it 

6def __appropriate__(*args): 

7 """Says object was actually declared here, and not in the import module. 

8 Fixing sphinx warnings of not being able to find classes, when path is 

9 shortened. Parameters: 

10 

11 *args: An iterable of objects to modify 

12 

13 Resolves `Sphinx referencing issues 

14 <https://github.com/sphinx-doc/sphinx/issues/3048>` 

15 """ 

16 

17 for obj in args: 

18 obj.__module__ = __name__ 

19 

20 

21__appropriate__( 

22 Preprocessor, 

23) 

24__all__ = [_ for _ in dir() if not _.startswith("_")]