File size: 599 Bytes
2d9b352
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
[pytest]
testpaths = tests
python_files = test_*.py
python_classes = Test
python_functions = test_*
asyncio_mode = auto
pythonpath = .

addopts =
    -v
    --tb=short
    --cov=.
    --cov-report=term-missing
    --cov-report=html
    --cov-fail-under=80
    --no-cov-on-fail

# Ignore some directories from coverage
[coverage:run]
omit =
    tests/*
    venv/*
    */site-packages/*
    .pytest_cache/*
    __pycache__/*
    .venv/*

[coverage:report]
exclude_lines =
    pragma: no cover
    def __repr__
    if __name__ == .__main__.:
    raise NotImplementedError
    pass
    raise ImportError