Skip to content

Bump ruff to 0.16.0 and ty to 0.0.63 - #64

Merged
vvillait88 merged 1 commit into
mainfrom
deps-python-sdk
Jul 24, 2026
Merged

Bump ruff to 0.16.0 and ty to 0.0.63#64
vvillait88 merged 1 commit into
mainfrom
deps-python-sdk

Conversation

@vvillait88

@vvillait88 vvillait88 commented Jul 24, 2026

Copy link
Copy Markdown
Contributor

Dev tooling bumps.

What changed

  • ruff 0.15.22 to 0.16.0, ty 0.0.62 to 0.0.63 (both dev)
  • README example formatting (see below)
  • __exit__ / __aexit__ varargs renamed to _args

No version bump

httpx is 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, pytest all exit 0
  • 183 tests pass, 100% coverage (95% floor)
  • vulture agentscore/ --min-confidence 80 clean

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>
@vvillait88
vvillait88 merged commit 46dae48 into main Jul 24, 2026
7 checks passed
@vvillait88
vvillait88 deleted the deps-python-sdk branch July 24, 2026 18:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant