Pillow/.coveragerc

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

24 lines
647 B
Plaintext
Raw Permalink Normal View History

# .coveragerc to control coverage.py
[report]
# Regexes for lines to exclude from consideration
exclude_also =
# Don't complain if non-runnable code isn't run
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:
# 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
# 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