Coverage for tests/fixtures/the_package/the_module.py: 100.00%

25 statements  

« prev     ^ index     » next       coverage.py v7.6.12, created at 2025-03-09 17:28 +0100

1"""The module docstring.""" 

2 

3THE_ATTRIBUTE: int = 0 

4"""The attribute docstring.""" 

5 

6 

7def the_function(): 

8 """The function docstring.""" 

9 

10 

11class TheClass: 

12 """The class docstring.""" 

13 

14 THE_ATTRIBUTE: float = 0.1 

15 """The attribute 0.1 docstring.""" 

16 

17 class TheNestedClass: 

18 """The nested class docstring.""" 

19 

20 THE_ATTRIBUTE: float = 0.2 

21 """The attribute 0.2 docstring.""" 

22 

23 class TheDoubleNestedClass: 

24 """The double nested class docstring.""" 

25 

26 THE_ATTRIBUTE: float = 0.3 

27 """The attribute 0.3 docstring.""" 

28 

29 def the_method(self): 

30 """The method3 docstring.""" 

31 

32 def the_method(self): 

33 """The method2 docstring.""" 

34 

35 def the_method(self): 

36 """The method1 docstring.""" 

37 

38 @staticmethod 

39 def the_static_method(): 

40 """The static method docstring.""" 

41 

42 @classmethod 

43 def the_class_method(cls): 

44 """The class method docstring.""" 

45 

46 @property 

47 def the_property(self): 

48 """The property docstring.""" 

49 

50 @property 

51 def the_writable_property(self): 

52 """The writable property getter docstring.""" 

53 

54 @the_writable_property.setter 

55 def the_writable_property(self, value): 

56 """The writable property setter docstring."""