https://github.com/python/cpython
Raw File
Tip revision: 401fff7423ca3c8bf1d02e594edfd1412616a559 authored by Sam Gross on 14 September 2024, 18:29:55 UTC
gh-121459: Add missing return to _PyDict_LoadGlobalStackRef (#124085)
Tip revision: 401fff7
.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