Coverage for src/bob/bio/vein/algorithm/__init__.py: 100%

8 statements  

« prev     ^ index     » next       coverage.py v7.6.0, created at 2024-07-12 23:27 +0200

1# isort: skip_file 

2from .MiuraMatch import MiuraMatch 

3from .Correlate import Correlate 

4from .HammingDistance import HammingDistance 

5 

6 

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

8def __appropriate__(*args): 

9 """Says object was actually declared here, an not on the import module. 

10 

11 Parameters: 

12 

13 *args: An iterable of objects to modify 

14 

15 Resolves `Sphinx referencing issues 

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

17 """ 

18 

19 for obj in args: 

20 obj.__module__ = __name__ 

21 

22 

23__appropriate__( 

24 MiuraMatch, 

25 Correlate, 

26 HammingDistance, 

27) 

28 

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