File: .coveragerc

package info (click to toggle)
python-uiprotect 6.1.0-2.1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,848 kB
  • sloc: python: 16,451; makefile: 21
file content (33 lines) | stat: -rw-r--r-- 783 bytes parent folder | download
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
[run]
source = src/uiprotect

omit =
    site/*
    src/uiprotect/cli/*
    src/uiprotect/test_util/*

[report]
omit =
    site/*
    src/uiprotect/cli/*
    src/uiprotect/test_util/*

# Regexes for lines to exclude from consideration
exclude_lines =
    # Have to re-enable the standard pragma
    pragma: no cover

    # 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
    raise exceptions.NotSupportedError

    # TYPE_CHECKING and @overload blocks are never executed during pytest run
    # except ImportError: are never executed as well
    if TYPE_CHECKING:
    @overload
    except ImportError:
    if _LOGGER.isEnabledFor(logging.DEBUG):