Repository navigation
chore(deps): bump the hooks group with 2 updates - #167
Merged
Merged
Conversation
Bumps the hooks group with 2 updates: [https://github.com/astral-sh/ruff-pre-commit](https://github.com/astral-sh/ruff-pre-commit) and [https://github.com/astral-sh/ty-pre-commit](https://github.com/astral-sh/ty-pre-commit). Updates `https://github.com/astral-sh/ruff-pre-commit` from v0.17.4 to 0.17.5 - [Release notes](https://github.com/astral-sh/ruff-pre-commit/releases) - [Commits](astral-sh/ruff-pre-commit@v0.17.4...v0.17.5) Updates `https://github.com/astral-sh/ty-pre-commit` from v0.0.99 to 0.0.103 - [Release notes](https://github.com/astral-sh/ty-pre-commit/releases) - [Commits](astral-sh/ty-pre-commit@v0.0.99...v0.0.103) --- updated-dependencies: - dependency-name: https://github.com/astral-sh/ruff-pre-commit dependency-version: 0.17.5 dependency-type: direct:production dependency-group: hooks - dependency-name: https://github.com/astral-sh/ty-pre-commit dependency-version: 0.0.103 dependency-type: direct:production dependency-group: hooks ... Signed-off-by: dependabot[bot] <support@github.com>
Contributor
Author
LabelsThe following labels could not be found: Please fix the above issues or remove invalid values from |
…api to 1.45.2 ty 0.0.103 reports union-member attribute access as missing-union-attribute and renames invalid-return-type to invalid-explicit-return. The conformance test now narrows with an assert instead of suppressing. opentelemetry-api 1.45.1 is flagged by GHSA-mf5v-w3w3-f6cg (uv-secure job). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
flyersworder
added a commit
that referenced
this pull request
Nov 19, 2026
From the second code review of #168: - The revenue example prints one session report as a Python dict, which the double-quote-only scrub missed, so the examples job could still flake on timing. Keys now match in either quote style. - seconds_remaining is written as <budget>-T, the budget recovered as elapsed + remaining from the same report, instead of rounded to whole seconds, which failed once a session passed ~0.5s. Verified with a fake clock at up to 3.3s elapsed. - close() docs: from async code, await asyncio.to_thread(adapter.close). - CHANGELOG no longer credits #167's ty-ignore edits to this release. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
flyersworder
added a commit
that referenced
this pull request
Nov 19, 2026
…() (v0.64.0) (#168) * chore: refresh dependencies and pre-commit hooks (v0.64.0) uv lock --upgrade (51 packages, including duckdb 2.0.0, anthropic 2.11.0, sqlglot 30.33.0) and prek auto-update (ruff 0.17.6, ty 0.0.107). No declared floor moves; the lowest-floor suite passes on 3.12 and 3.13. DuckDB 2.0 holds ~50 native threads per open connection. Test fixtures never closed their adapters, so the suite hit macOS's 4096-thread cap and failed with "can't start new thread"; an autouse fixture now closes every connection a test opens. DuckDB 2.0 no longer estimates a plan root below 1 row, so the revenue example's inspect_query line changes from rows: 0 to rows: 1. mermaid-joinpath-eval is upgraded separately (37 tests pass); dabstep-contract-eval takes only the self version. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * ci: scrub wall-clock session timing from example golden output elapsed_seconds and seconds_remaining round to 0.0 locally but crossed 0.05s on a CI runner, failing the byte-for-byte diff. Scrub them in both the CI step and scripts/regen_examples.sh; retries_remaining and the token and cost budgets stay diffed exactly. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * review: DuckDBAdapter.close(), one shared example scrubber From the code review of #168: - DuckDBAdapter gains close() (takes _lock, idempotent) and context-manager support. Under DuckDB 2.0 an open connection holds ~50 native threads; the CHANGELOG previously told users to reach into adapter.connection. - The examples scrub moves to scripts/scrub_example_output.py, used by CI and regen_examples.sh alike. seconds_remaining is rounded to whole seconds instead of masked, so the configured max_duration_seconds is still diffed; negative values are handled; regen uses mktemp. - The two module-scoped DuckDB fixtures close their own connections (the autouse fixture starts after them); conftest docstring says so. - CHANGELOG no longer names hook versions (CLAUDE.md rule). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * review 2: recover the duration budget in the scrub; quote-agnostic keys From the second code review of #168: - The revenue example prints one session report as a Python dict, which the double-quote-only scrub missed, so the examples job could still flake on timing. Keys now match in either quote style. - seconds_remaining is written as <budget>-T, the budget recovered as elapsed + remaining from the same report, instead of rounded to whole seconds, which failed once a session passed ~0.5s. Verified with a fake clock at up to 3.3s elapsed. - close() docs: from async code, await asyncio.to_thread(adapter.close). - CHANGELOG no longer credits #167's ty-ignore edits to this release. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * review 3: scrub a final unterminated line; document scrub and fixture limits From the third code review of #168: - The "Sample database created at" scrub also removes a last line with no trailing newline, as the sed rule it replaced did. - The scrubber docstring states that the budget is recovered to the whole second, the precision the two 0.1s-rounded values allow. - conftest: a connection meant to outlive the test is closed too. Declined: a closed adapter's explain() reporting schema_valid=False. The agent sees "Connection already closed", and use after close is a host bug. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <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.
Bumps the hooks group with 2 updates: https://github.com/astral-sh/ruff-pre-commit and https://github.com/astral-sh/ty-pre-commit.
Updates
https://github.com/astral-sh/ruff-pre-commitfrom v0.17.4 to 0.17.5Release notes
Sourced from https://github.com/astral-sh/ruff-pre-commit's releases.
Commits
ef6cf06Mirror: 0.17.5d7ec256Bump astral-sh/setup-uv from 10.3.2 to 10.3.3 in the github-actions group (#192)Updates
https://github.com/astral-sh/ty-pre-commitfrom v0.0.99 to 0.0.103Release notes
Sourced from https://github.com/astral-sh/ty-pre-commit's releases.
Commits
ab1cf61Mirror: 0.0.1033a47f8aMirror ty 0.0.102 (#45)adf4d7aMirror: 0.0.1013770e13Mirror: 0.0.100Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore <dependency name> major versionwill close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)@dependabot ignore <dependency name> minor versionwill close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)@dependabot ignore <dependency name>will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)@dependabot unignore <dependency name>will remove all of the ignore conditions of the specified dependency@dependabot unignore <dependency name> <ignore condition>will remove the ignore condition of the specified dependency and ignore conditions