-
Notifications
You must be signed in to change notification settings - Fork 133
Add additional ruff suggestions #1062
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
timsaucer
merged 24 commits into
apache:main
from
Spaarsh:1056/refactor/add-additional-ruff-suggestions
Mar 17, 2025
Merged
Changes from 18 commits
Commits
Show all changes
24 commits
Select commit
Hold shift + click to select a range
b7027d5
Enabled ruff rule PT001 and ANN204
Spaarsh 8b4212f
Enabled ruff rule B008
Spaarsh 5034450
Enabled ruff rule EM101
Spaarsh c774360
Enabled ruff rule PLR1714
Spaarsh dc08108
Enabled ruff rule ANN201
Spaarsh ebab774
Enabled ruff rule C400
Spaarsh 7cb5937
Enabled ruff rule B904
Spaarsh de24979
Enabled ruff rule UP006
Spaarsh 590c72f
Enabled ruff rule RUF012
Spaarsh 363d24f
Enabled ruff rule FBT003
Spaarsh 77c85c4
Enabled ruff rule C416
Spaarsh b619e9a
Enabled ruff rule SIM102
Spaarsh 924aacf
Enabled ruff rule PGH003
Spaarsh a26950b
Enabled ruff rule PERF401
Spaarsh 5642b38
Enabled ruff rule EM102
Spaarsh b3c33a1
Enabled ruff rule SIM108
Spaarsh 17c184a
Enabled ruff rule ICN001
Spaarsh 05ff09e
Enabled ruff rule ICN001
Spaarsh 5b41959
implemented reviews
Spaarsh 914252c
Update pyproject.toml to ignore `SIM102`
Spaarsh 5654587
Merge branch 'apache:main' into 1056/refactor/add-additional-ruff-sug…
Spaarsh ddff4ee
Enabled ruff rule PLW2901
Spaarsh fc23741
Enabled ruff rule RET503
Spaarsh b415014
Fixed failing ruff tests
Spaarsh 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
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
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
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.
Can you double check this? It looks like it changed the logic slightly. If results is not
Noneit doesn't look like this will work as before