Coverage for src/bob/pad/face/extractor/__init__.py: 80%

5 statements  

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

1# isort: skip_file 

2 

3 

4def __appropriate__(*args): 

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

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

7 shortened. 

8 

9 Parameters 

10 ---------- 

11 *args 

12 The objects that you want sphinx to beleive that are defined here. 

13 

14 Resolves `Sphinx referencing issues <https//github.com/sphinx- 

15 doc/sphinx/issues/3048>` 

16 """ 

17 

18 for obj in args: 

19 obj.__module__ = __name__ 

20 

21 

22__appropriate__() 

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