chore: 🔧 root-level AGENTS.md, Python 3.11 support and prek - #33
Merged
Conversation
Symlink .github/copilot-instructions.md and CLAUDE.md to it so every harness picks up the same guide, and rewrite the content around this repository instead of generic Python advice. Closes #26 Assisted-by: copilot-cli:claude-opus-5
Naming conventions and the reason N803/N806 are off, a pointer to the developer guide, and the reminder that a skipped lint is a red PR. Assisted-by: copilot-cli:claude-opus-5
robertodr
reviewed
Sep 3, 2026
robertodr
reviewed
Sep 3, 2026
robertodr
reviewed
Sep 3, 2026
3.11 is still required across the company, so lower requires-python, the ruff and pyright targets, the sonar version list and the CI matrix floor back to it. The test suite passes unchanged; no 3.12-only syntax was in use. Replace pre-commit with prek: prek.toml instead of .pre-commit-config.yaml, j178/prek-action in lint.yml, and the ruff bump in update-ruff.yml rewritten for the TOML syntax. Assisted-by: copilot-cli:claude-opus-5
robertodr
previously approved these changes
Sep 3, 2026
robertodr
enabled auto-merge (squash)
September 3, 2026 08:04
The ruleset requires the "Test src_method" context, but the matrix only reports per-combination names, so the check stayed pending forever and blocked every merge. Aggregate the matrix in a job carrying that name. Assisted-by: copilot-cli:claude-opus-5
|
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.



🤖 AI text below 🤖
Closes #26.
Agent guide
The guide only lived in
.github/copilot-instructions.md, so harnesses that look forAGENTS.mdfound nothing.AGENTS.mdat the root is now the single source;.github/copilot-instructions.md->../AGENTS.mdandCLAUDE.md->AGENTS.mdare symlinks, as in monoprop.filterwarnings = ["error"], markers, quimb layouts, commit conventions) instead of generic Python advice.Python 3.11
Restored as the floor, since it is still required across the company:
requires-python, the rufftarget-version, the pyrightpythonVersion,sonar.python.versionand the CI matrix. No 3.12-only syntax was in use, and the fast suite passes on both 3.11 and 3.14.prek
pre-commit->prek:prek.tomlreplaces.pre-commit-config.yaml(built-in hooks where available,ruff-checkinstead of the legacyruffalias),lint.ymlusesj178/prek-action, and the ruff bump inupdate-ruff.ymlwas rewritten for the TOML syntax. Docs and the dev container script follow.Existing clones need
prek install --force --prepare-hooksonce, to drop the stalepre-commitshim; noted inCONTRIBUTING.md.uv run prek run --all-filespasses.