2014-05-26 20:19:27 +04:00
|
|
|
# .coveragerc to control coverage.py
|
|
|
|
|
|
|
|
[report]
|
|
|
|
# Regexes for lines to exclude from consideration
|
2023-11-12 13:53:42 +03:00
|
|
|
exclude_also =
|
|
|
|
# Don't complain if non-runnable code isn't run
|
2014-05-26 20:19:27 +04:00
|
|
|
if 0:
|
|
|
|
if __name__ == .__main__.:
|
2014-06-27 23:07:34 +04:00
|
|
|
# Don't complain about debug code
|
2014-07-05 01:04:19 +04:00
|
|
|
if DEBUG:
|
2023-12-31 20:30:22 +03:00
|
|
|
# Don't complain about compatibility code for missing optional dependencies
|
|
|
|
except ImportError
|
2024-02-10 14:39:18 +03:00
|
|
|
if TYPE_CHECKING:
|
2024-02-10 14:40:24 +03:00
|
|
|
@abc.abstractmethod
|
2024-01-24 00:58:41 +03:00
|
|
|
# Empty bodies in protocols or abstract methods
|
|
|
|
^\s*def [a-zA-Z0-9_]+\(.*\)(\s*->.*)?:\s*\.\.\.(\s*#.*)?$
|
|
|
|
^\s*\.\.\.(\s*#.*)?$
|
2019-10-27 13:20:54 +03:00
|
|
|
|
|
|
|
[run]
|
|
|
|
omit =
|
2019-12-02 16:37:20 +03:00
|
|
|
Tests/32bit_segfault_check.py
|
2019-10-27 13:20:54 +03:00
|
|
|
Tests/check_*.py
|
2019-12-02 16:37:20 +03:00
|
|
|
Tests/createfontdatachunk.py
|