Skip to content

Commit

Permalink
Fix coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
garrison committed May 10, 2023
1 parent 3dd18e3 commit 5e3eb6b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion circuit_knitting_toolbox/circuit_cutting/wire_cutting.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@
"circuit_knitting_toolbox.circuit_cutting.cutqc instead.",
DeprecationWarning,
stacklevel=2,
) # pragma: no cover
)
6 changes: 6 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -90,5 +90,11 @@ notebook-dependencies = [
remove-unused-variables = true
remove-all-unused-imports = true

[tool.coverage.run]
omit = [
# deprecated import location(s)
"circuit_knitting_toolbox/circuit_cutting/wire_cutting.py",
]

[tool.flit.module]
name = "circuit_knitting_toolbox"

0 comments on commit 5e3eb6b

Please sign in to comment.