Fix Ruff lint violations - #57
Merged
Merged
Conversation
Signed-off-by: Tim Paine <3105306+timkpaine@users.noreply.github.com>
Signed-off-by: Tim Paine <3105306+timkpaine@users.noreply.github.com>
Contributor
Test Results3 185 tests - 70 2 973 ✅ - 64 5m 54s ⏱️ - 1m 9s Results for commit 866418b. ± Comparison against base commit 30ed1d1. This pull request removes 113 and adds 43 tests. Note that renamed tests count towards both.♻️ This comment has been updated with latest results. |
Signed-off-by: Tim Paine <3105306+timkpaine@users.noreply.github.com>
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Description
Update Python sources and tests for current Ruff checks without changing lint configuration. Modernize annotations, simplify flagged constructs, remove duplicate parameter cases, and preserve compatibility-sensitive exception behavior with targeted inline suppressions.
Type of Change
Checklist
make lint)make test)Focused verification passed 1,296 tests. One additional config-loader test and completion tests fail locally because unrelated installed entry-point plugins add 33 unexpected config groups; this is environment contamination rather than a change introduced here.