-
-
Notifications
You must be signed in to change notification settings - Fork 46
/
.coveragerc
66 lines (49 loc) · 1.42 KB
/
.coveragerc
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
[run]
branch = False
omit =
# omit the following directory
*/pbr/*
*/site-packages/*
/home/travis/virtualenv/*
*.eggs/*
*/distutils/*
# omit the following file
PyFunceble/dataset/mariadb_base.py
PyFunceble/dataset/*/mariadb.py
PyFunceble/dataset/*/mysql.py
PyFunceble/checker/availability/extra_rules.py
PyFunceble/__init__.py
PyFunceble/logger.py
PyFunceble/database/*
PyFunceble/cli/*
[report]
# This should be False one we move into production
skip_covered = False
# Regexes for lines to exclude from consideration
exclude_lines =
# Have to re-enable the standard pragma
pragma: no cover
# Never cover __init__
def __init__
# Don't complain about missing debug-only code:
def __repr__
# Don't complain if tests don't hit defensive assertion code:
raise AssertionError
raise NotImplementedError
# Don't complain if non-runnable code isn't run:
if __name__ == .__main__.:
# Don't complain for those blocks
PyFunceble\.storage\.CONFIGURATION\.cli_testing\.db_type == "mariadb"
PyFunceble\.storage\.CONFIGURATION\.cli_testing\.db_type == "mysql"
# Don't complain about those.
to_json\(
_mysql\(
_mariadb\(
PyFunceble\.facility\.Logger\.
# Manual handling of imports.
except\sModuleNotFoundError\:
except\sImportError:
ignore_errors = True
fail_under = 70
[html]
directory = coverage_html_report