Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 0 additions & 22 deletions .coveragerc

This file was deleted.

19 changes: 19 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -204,3 +204,22 @@ addopts = [ "-ra", "--color=auto" ]
testpaths = [
"Tests",
]

[tool.coverage]
Comment thread
akx marked this conversation as resolved.
run.core = "sysmon" # default for 3.14+, available for 3.12+
run.disable_warnings = [ "no-sysmon" ] # 3.11
run.omit = [
"checks/*.py",
"Tests/benchmarks.py",
"Tests/createfontdatachunk.py",
]
report.exclude_also = [
"@abc.abstractmethod",
# Empty bodies in protocols or abstract methods
"^\\s*def [a-zA-Z0-9_]+\\(.*\\)(\\s*->.*)?:\\s*\\.\\.\\.(\\s*#.*)?$",
# Don't complain about compatibility code for missing optional dependencies
"except ImportError",
"if __name__ == .__main__.:",
# Don't complain about debug code
"if DEBUG:",
]
Loading