Skip to content

Commit

Permalink
Add cov exclusions
Browse files Browse the repository at this point in the history
  • Loading branch information
jdeschamps committed Dec 20, 2023
1 parent 3bbf12f commit 45dc548
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,8 @@ exclude_lines = [
"except ImportError",
"\\.\\.\\.",
"raise NotImplementedError()",
"except PackageNotFoundError:",
"if torch.cuda.is_available():",
]

[tool.coverage.run]
Expand Down

0 comments on commit 45dc548

Please sign in to comment.