From 1b13356463cf1677ab0c448c499c25f95d5cb1d5 Mon Sep 17 00:00:00 2001 From: Artur Shiriev Date: Sun, 13 Sep 2026 13:37:18 +0300 Subject: [PATCH] docs(agents): drop the retired paragraphs and keep the canonical ones verbatim modern-python/.github#93: the three retired conventions (real work not scheduled, the INVARIANT: docstring shape, the # ty: ignore note) are process notes the standard no longer carries. modern-python/.github#92: section 9 of the standard fixes the justfile and README-links paragraphs word for word. --- AGENTS.md | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/AGENTS.md b/AGENTS.md index 8a307b0..ba74b75 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -15,8 +15,7 @@ integrations, each of which lives in a separate repository and ships as a separa ## Commands `just` (task runner) and `uv` (package manager). The [`justfile`](justfile) is the source of truth — -`just --list`, or read it. The one thing it does not say: a `ty` suppression is written -`# ty: ignore`, never `# type: ignore`. +`just --list`, or read it. ## Architecture @@ -24,11 +23,6 @@ All implementation is `modern_di_flask/main.py`, short enough to read whole. Rea ## Workflow -Real work **not scheduled** becomes a GitHub issue. - Every link in `README.md` must be absolute: `https://github.com/modern-python//blob/main/`, or `.../tree/main/` for a directory. Never a relative path: `README.md` is also the PyPI long description, and PyPI does not rewrite relative links, so a relative one 404s on the package page. - -An invariant is a test whose name is the claim, with a docstring opening `INVARIANT:` and a second -paragraph naming **what breaks it** — design rationale, not a report of what this one test catches.