Repository navigation
Update boilerplate to ai-instructions a26c1bd - #105
Merged
Merged
Conversation
- Bump the `.ai-instructions` submodule to c979be8. - pre-commit: bump pyproject-fmt, check-jsonschema, ruff, ty and codespell; run ty via `entry: ty check` with a pinned `ty==0.0.83`; add the template's local hooks (pre-push-hooks-installed, pixi-lock-check, no-hardcoded-user-paths, no-section-separator-comments, no-internal-references) and skip the pixi/submodule hooks on pre-commit.ci; add a MyST mdformat hook for docs/; configure codespell via `[tool.codespell]`. - Ignore CPY001 and PLR0917, as the template does; ruff 0.16.8 enforces both. - Rewrite comments and docstrings that referred to issue, PR and review labels so they state the reason instead. - Fix ISC004 and the ty 0.0.83 findings: drop `pd.Series[...]` subscripts (pandas' `Series` is not generic) and count present rows directly. - CI: actions/checkout v7.0.1, setup-pixi v0.10.2, codecov v7.1.1, pixi v0.81.0. - .gitignore: drop the duplicated review-artifact block, add `pytask.lock.journal`. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
`test_sandbox_tasks_produce_identical_results` wrote `sandbox/pyproject.toml` and deleted it afterwards, which removed the tracked file from the working tree on every test run. Only write and remove the config when it is absent. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Documentation build overview
|
Codecov Report❌ Patch coverage is
📢 Thoughts on this report? Let us know! |
Remove `pixi-lock-check` and `pre-push-hooks-installed`, which only guards pre-push hooks, so contributors need no `prek install -t pre-push`. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Also install only the py314 env in the test job, run it --locked, and sort the pytask gitignore section. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Avoids forward references to the class name, which a checker targeting Python below 3.14 reports as undefined, and sidesteps a numpy 2.5.3 stub overload mismatch on ndarray.max/min in the fold-balance test. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
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.
Updates the project configuration to ai-instructions c979be8.
pre-commit
.ai-instructionsbumped to c979be8.ty checkdirectly withty==0.0.83.prek install -t pre-pushonce per clone.docs/, which reformatted the docs files.[tool.codespell], keeping the existing wordlist file.Code
CPY001andPLR0917inextend-ignore(as in the template), 6ISC004concatenations parenthesized, 21pd.Series[...]annotations reduced to barepd.Series(matching the rest of the repo), onesum()inprobe.pyrewritten so it type-checks.test_sandbox_tasks_produce_identical_resultsdeleted the trackedsandbox/pyproject.tomlon every run; it now only writes and removes the config when it is absent.Other
.gitignore: removed a duplicated block, addedpytask.lock.journal.Follow-ups (ai-instructions a26c1bd)
CLAUDE.md/GEMINI.mdwrappers, sinceAGENTS.mdis the only instruction file.py314, and the tests run--locked..gitignore:bld/moved into the sorted pytask section.fitclassmethods returnSelf. A checker targeting Python below 3.14 (the dev-gettsim workspace root) reports the class-name annotations as undefined.max/minon thebincountresult, which avoids a numpy 2.5.3 stub overload mismatch onndarray.max/min.Verification
prek run --all-filespasses; pixi-lock-check passes.pixi run -e py314 tests -n 7: 1647 passed, 1 skipped.🤖 Generated with Claude Code