-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Get baseline 100% clean coverage #1553
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
+1,032
−1,084
Merged
Changes from all commits
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
2ac402c
coverage: add coverage config and package
maxisbey 1f70276
coverage: add coverage testing script
maxisbey 858f23f
coverage: add pragmas to reach 100% coverage on src/
maxisbey bb8394c
coverage: add pragmas to reach 100% coverage on tests/
maxisbey 55fafa2
coverage: run ruff on long lines
maxisbey 813fea5
coverage: run ruff on long lines
maxisbey 28c7a2b
coverage: rebase main and readd pragmas
maxisbey 4fa5a91
coverage: add newline to coverage script
maxisbey c5ef006
coverage: add coverage to CI
maxisbey a7ad5b3
coverage: add no coverage to platform specific code
maxisbey 6c29a19
coverage: remove early returns from debugging
maxisbey 95c6960
coverage: ignore platform specific test branch
maxisbey 247e33e
coverage: ignore leftover test case issues
maxisbey ab98305
coverage: ignore platform specific test case
maxisbey 6a7c337
increase timeouts for flaky unit tests
maxisbey 85ef402
coverage: remove redundant pragmas
maxisbey 5e0e81f
coverage: remove exclude files pragma, add ... ignoring
maxisbey File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,7 @@ | ||
| #!/bin/sh | ||
|
|
||
| set -ex | ||
|
|
||
| uv run --frozen coverage run -m pytest -n auto $@ | ||
| uv run --frozen coverage combine | ||
| uv run --frozen coverage report |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -2,5 +2,5 @@ | |
|
|
||
| from .cli import app | ||
|
|
||
| if __name__ == "__main__": | ||
| if __name__ == "__main__": # pragma: no cover | ||
| app() | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would prefer for this to be called
test.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
changed