https://github.com/python/cpython
Revision 076d169ebbe59f7035eaa28d33d517bcb375f342 authored by Thomas Wouters on 12 March 2024, 17:34:05 UTC, committed by Thomas Wouters on 12 March 2024, 20:11:08 UTC
1 parent f6e7a6c
Raw File
Tip revision: 076d169ebbe59f7035eaa28d33d517bcb375f342 authored by Thomas Wouters on 12 March 2024, 17:34:05 UTC
Python 3.13.0a5
Tip revision: 076d169
.coveragerc
[run]
branch = True

[report]
# Regexes for lines to exclude from consideration
exclude_lines =
    # Don't complain if non-runnable code isn't run:
    if 0:
    if __name__ == .__main__.:
    raise AssertionError\(

    # Empty bodies in protocols or abstract methods
    ^\s*def [a-zA-Z0-9_]+\(.*\)(\s*->.*)?:\s*\.\.\.(\s*#.*)?$
    ^\s*\.\.\.(\s*#.*)?$

    .*# pragma: no cover
    .*# pragma: no branch

    # Additions for IDLE:
    .*# htest #
    if not (_htest or _utest):
    if not .*_utest:
    if .*_htest:
    
back to top