Skip to content

Bump ai-instructions; refresh pre-commit pins and re-sync both ty pins - #9

Open
hmgaudecker wants to merge 1 commit into
mainfrom
bump-ai-instructions
Open

Bump ai-instructions; refresh pre-commit pins and re-sync both ty pins#9
hmgaudecker wants to merge 1 commit into
mainfrom
bump-ai-instructions

Conversation

@hmgaudecker

Copy link
Copy Markdown
Contributor

Moves .ai-instructions to the current tip and runs prek autoupdate:
pyproject-fmt v2.25.0v2.27.1, ruff v0.15.19v0.16.3.

autoupdate rewrites remote rev: fields only, so neither local ty hook's
additional_dependencies pin moves with it. Both go to 0.0.71, matching the rest of the
family, as their comments ask.

CPY001 left preview in ruff 0.16 and fires on conftest.py; added to extend-ignore.

pixi.lock is regenerated — the diff is a pixi 0.76 format change (added virtual-packages
blocks), not a dependency change. This repo has no CI, so nothing pins an older pixi.

The workspace was pointing at the wrong ttsim

ttsim-backend = { path = "ttsim", editable = true } overrides the git pin gettsim declares,
so which ttsim you get is whatever the sibling clone is checked out on. gettsim moved to
gep10-rollout on 2026-07-28; the ttsim clone had sat on main since 2026-06-24 and was never
switched. gettsim's own pyproject.toml pins
ttsim-backend = { branch = "gep10-infra-1-dimensional-core" }, so main was simply wrong.

With ttsim on the branch gettsim actually asks for, ty's unknown-argument count here goes
from 1532 to 0.

Remaining ty findings all belong to subprojects

Location Count Where it is handled
ttsim/ 184 pre-existing on its branch — ttsim-dev/ttsim#149
soep-preparation/ 16 6 are sklearn.linear_model, absent from this workspace's env

None are in dev-gettsim's own code.

Follow-up worth considering: this workspace typechecks soep-preparation but does not depend
on scikit-learn, so those 6 imports cannot resolve here by construction. Adding it to
[tool.pixi.dependencies] would close that gap.

Reproducing any of this needs pixi install -e py314 -e py314-jax first — a stale environment
reports hundreds of diagnostics that say nothing about the code.

🤖 Generated with Claude Code

Move the `.ai-instructions` submodule to the current tip and run
`prek autoupdate`: pyproject-fmt v2.25.0 -> v2.27.1, ruff v0.15.19 ->
v0.16.3.

`autoupdate` only rewrites remote `rev:` fields, so neither local ty
hook's `additional_dependencies` pin moves with it. Set both to 0.0.71,
matching the rest of the family, as their comments ask.

Crossing ruff 0.16 promotes `CPY001` out of preview, which
`select = ["ALL"]` picks up on `conftest.py`; it joins `extend-ignore`.

ty still reports findings, all of them inside the workspace's
subprojects rather than here: ttsim's `missing-argument` set (unchanged
on its own branch, see ttsim-dev/ttsim#149) and soep-preparation's.
Reproducing either needs `pixi install -e py314 -e py314-jax` first.

Co-Authored-By: Claude Opus 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