Skip to content
Draft
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
10 changes: 7 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,17 @@ extend-exclude = ".*_pb2[.]py[i]?"

[tool.coverage.run]
include = [
# Omit files outside the current working directory.
# Include only the directories that have pytest tests in them.
# Note: this means coverage must be run from the cirq repo root.
# Failure to do so will result in false positives.
"./*",
"./cirq-*",
"./dev_tools/*",
"./examples/*",
]
omit = ["benchmarks/*"]
patch = ["subprocess"]
# Speed up pytest-cov on Python 3.12+ by enabling sys.monitoring if possible.
core = "sysmon"
disable_warnings = ["no-sysmon"]

[tool.coverage.report]
exclude_also = [
Expand Down