| 1 |
[run] |
| 2 |
; branch = True |
| 3 |
; dynamic_context = test_function |
| 4 |
concurrency = multiprocessing,thread |
| 5 |
parallel = True |
| 6 |
data_file = ${INITIAL_PWD-.}/.coverage |
| 7 |
omit = |
| 8 |
${INITIAL_PWD-.}/testreport |
| 9 |
${INITIAL_PWD-.}/.github/* |
| 10 |
${INITIAL_PWD-.}/bin.*/* |
| 11 |
${INITIAL_PWD-.}/dist.*/* |
| 12 |
**/gui/wxpython/*/** |
| 13 |
**/OBJ.*/* |
| 14 |
source = |
| 15 |
. |
| 16 |
${INITIAL_PWD-.}/ |
| 17 |
${INITIAL_GISBASE-/usr/local/grass??}/ |
| 18 |
|
| 19 |
[paths] |
| 20 |
root = |
| 21 |
./ |
| 22 |
${INITIAL_GISBASE-/usr/local/grass??}/ |
| 23 |
/home/*/install/grass??/ |
| 24 |
python = |
| 25 |
./python/ |
| 26 |
${INITIAL_GISBASE-/usr/local/grass??}/etc/python/ |
| 27 |
/home/*/install/grass??/etc/python/ |
| 28 |
special_d_mon = |
| 29 |
./display/d.mon/ |
| 30 |
${INITIAL_GISBASE-/usr/local/grass??}/etc/d.mon/ |
| 31 |
/home/*/install/grass??/etc/d.mon/ |
| 32 |
special_r_in_wms = |
| 33 |
./scripts/r.in.wms/ |
| 34 |
${INITIAL_GISBASE-/usr/local/grass??}/etc/r.in.wms/ |
| 35 |
/home/*/install/grass??/etc/r.in.wms/ |
| 36 |
|
| 37 |
|
| 38 |
[report] |
| 39 |
; Since our file structure isn't an importable package, not all files are found |
| 40 |
; This allows to find python files even if there is missing __init__.py files, but is slow |
| 41 |
include_namespace_packages = True |
| 42 |
skip_covered = False |
| 43 |
; Regexes for lines to exclude from consideration |
| 44 |
exclude_also = |
| 45 |
; Don't complain about missing debug-only code: |
| 46 |
def __repr__ |
| 47 |
if self\.debug |
| 48 |
|
| 49 |
; Don't complain if tests don't hit defensive assertion code: |
| 50 |
raise AssertionError |
| 51 |
raise NotImplementedError |
| 52 |
|
| 53 |
; Don't complain if non-runnable code isn't run: |
| 54 |
; if 0: |
| 55 |
; if __name__ == .__main__.: |
| 56 |
|
| 57 |
; Don't complain about abstract methods, they aren't run: |
| 58 |
@(abc\.)?abstractmethod |
| 59 |
|
| 60 |
ignore_errors = True |
| 61 |
precision = 2 |
| 62 |
|
| 63 |
[html] |
| 64 |
directory = coverage_html_report |
| 65 |
show_contexts = true |