Bump ruff to 0.16.0 and ty to 0.0.63 - #64
Merged
Merged
Conversation
Dev tooling only. httpx, the sole runtime dependency, is untouched, so the published package is unchanged for consumers and no version bump is warranted. Two follow-on changes fall out of the ruff bump: Ruff 0.16.0 formats Python code blocks inside Markdown, so it reformats the README examples. Applied rather than excluding Markdown from the check, since narrowing the gate to avoid the tool's own style is the worse trade. Expect this in every Python repo carrying code in docs. Renamed the unused varargs on __exit__ and __aexit__ to _args, clearing the two pre-existing vulture flags at 100% confidence. The parameters are mandated by the context-manager protocol so they cannot be removed; the name is positional-only and internal, so this is not an API change. Verified: ruff check, ruff format, ty and pytest all exit 0; 183 tests pass at 100% coverage; vulture is clean at the 80% confidence floor. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.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.
Dev tooling bumps.
What changed
ruff0.15.22 to 0.16.0,ty0.0.62 to 0.0.63 (both dev)__exit__/__aexit__varargs renamed to_argsNo version bump
httpxis this package's only runtime dependency and it did not move, so the published package is unchanged for consumers.Two follow-on changes from the ruff bump
Ruff 0.16.0 formats Python code blocks inside Markdown. That reformats the README examples. Applied rather than excluding Markdown from
ruff format --check, since narrowing the gate to dodge the tool's own style is the worse trade.Cleared two pre-existing vulture flags (100% confidence) by renaming the unused varargs on
__exit__/__aexit__to_args. The parameters are mandated by the context-manager protocol so they cannot be deleted, and the name is positional-only and internal, so this is not an API change.Verification
ruff check,ruff format --check,ty check,pytestall exit 0vulture agentscore/ --min-confidence 80clean