File tree Expand file tree Collapse file tree 2 files changed +31
-0
lines changed
Expand file tree Collapse file tree 2 files changed +31
-0
lines changed Original file line number Diff line number Diff line change 1+ [run]
2+ include =
3+ splitio/*.py
4+ omit =
5+ tests/*
6+ */__init__.py
7+ branch = true
8+
9+ [report]
10+ # Regexes for lines to exclude from consideration
11+ exclude_lines =
12+ # Have to re-enable the standard pragma
13+ pragma: no cover
14+
15+ # Don't complain about missing debug-only code:
16+ def __repr__
17+ if self\.debug
18+
19+ # Don't complain if tests don't hit defensive assertion code:
20+ raise AssertionError
21+ raise NotImplementedError
22+
23+ # Don't complain if non-runnable code isn't run:
24+ if 0:
25+ if __name__ == .__main__.:
26+
27+ precision = 2
28+
29+ [xml]
30+ directory = coverage.xml
Original file line number Diff line number Diff line change @@ -5,5 +5,6 @@ sonar.sources=splitio
55sonar.tests =tests
66sonar.text.excluded.file.suffixes =.csv
77sonar.python.coverage.reportPaths =coverage.xml
8+ sonar.coverage.exclusions =**/__init__.py
89sonar.links.ci =https://github.com/splitio/python-client
910sonar.links.scm =https://github.com/splitio/python-client/actions
You can’t perform that action at this time.
0 commit comments