Skip to content

chore(deps): bump the hooks group with 2 updates - #167

Merged
flyersworder merged 2 commits into
mainfrom
dependabot/pre_commit/hooks-2b976cd583
Nov 19, 2026
Merged

flyersworder merged 2 commits into
mainfrom
dependabot/pre_commit/hooks-2b976cd583

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 16, 2026

Copy link
Copy Markdown
Contributor

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-commit from v0.17.4 to 0.17.5

Release notes

Sourced from https://github.com/astral-sh/ruff-pre-commit's releases.

v0.17.5

See: https://github.com/astral-sh/ruff/releases/tag/0.17.5

Commits

Updates https://github.com/astral-sh/ty-pre-commit from v0.0.99 to 0.0.103

Release notes

Sourced from https://github.com/astral-sh/ty-pre-commit's releases.

v0.0.103

See: https://github.com/astral-sh/ty/releases/tag/0.0.103

v0.0.101

See: https://github.com/astral-sh/ty/releases/tag/0.0.101

v0.0.100

See: https://github.com/astral-sh/ty/releases/tag/0.0.100

Commits

Dependabot 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 rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore <dependency name> major version will 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 version will 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

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>
@dependabot @github

dependabot Bot commented on behalf of github Nov 16, 2026

Copy link
Copy Markdown
Contributor Author

Labels

The following labels could not be found: dependencies. Please create it before Dependabot can add it to a pull request.

Please fix the above issues or remove invalid values from dependabot.yml.

…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
flyersworder merged commit 11869e4 into main Nov 19, 2026
9 checks passed
@flyersworder
flyersworder deleted the dependabot/pre_commit/hooks-2b976cd583 branch November 19, 2026 19:14
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>
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