wikimedia/pywikibot

View on GitHub
.coveragerc

Summary

Maintainability
Test Coverage
[report]
ignore_errors = True
skip_empty = True

exclude_lines =
    # Have to re-enable the standard pragma
    pragma: no cover
    except ImportError
    except KeyboardInterrupt
    except OSError
    except \w*ServerError
    except SyntaxError
    raise ImportError
    raise NotImplementedError
    raise unittest\.SkipTest
    self\.skipTest
    if __name__ == '__main__':
    if .+PYWIKIBOT_TEST_\w+.+:
    if self\.mw_version < .+:
    if TYPE_CHECKING:
    @(abc\.)?abstractmethod
    @deprecated\([^\)]+\)
    @unittest\.skip