Skip to content

Commit 2ec7035

Browse files
committed
Fix up the omitted paths for coverage runs
1 parent d192478 commit 2ec7035

1 file changed

Lines changed: 4 additions & 5 deletions

File tree

pyproject.toml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,11 @@ skip-magic-trailing-comma = true
2323
core = "sysmon"
2424
disable_warnings = ["no-sysmon"]
2525

26-
# Omit files outside the current working directory.
27-
# Note: this means coverage must be run from the openfermion repo root.
28-
# Failure to do so will result in false positives.
26+
# Omit some paths. Note: this means coverage must be run from the OpenFermion
27+
# repo root. Failure to do so will result in false positives.
2928
omit = [
30-
"./profiling/performance_benchmarks.py",
31-
"./dev_tools/*",
29+
"./git/*",
30+
"./github/*",
3231
]
3332

3433
[tool.pytest.ini_options]

0 commit comments

Comments
 (0)