Coverage for src/sample/simple.py: 100.00%

2 statements  

« prev     ^ index     » next       coverage.py v7.2.7, created at 2023-06-24 17:04 +0000

1"""This is a simple module.""" 

2 

3 

4def add_one(number: int) -> int: 

5 """Add one to `number`. 

6 

7 Args: 

8 number (int): An integer. 

9 

10 Returns: 

11 A[n] int that is one greater than `number`. 

12 """ 

13 return number + 1