Conversation
Member
Author
|
Closing: drift so far came from the standard changing, and each change already ends with a sweep. A standing checker would add a maintenance tax on every standard change for little gain; audits stay on demand. |
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.
Summary
Every drift the manual audits found built up slowly, one repo at a time, and was only seen when someone went looking. This adds the check that keeps the now-clean baseline clean.
conformance/: a checker whose checks are named by requirement ID. It finds the core repos itself (a PyPI project that links back togithub.com/modern-python/<repo>, so a PyPI name clash likechat-appis not core), clones each, reads its GitHub metadata and recent PR titles, and evaluates it..github/workflows/conformance.yml: runs it every Monday and on dispatch, writes the summary to the run page, and keeps oneconformance-labelled issue per failing repo in this repo (find-or-comment, the same shape aslinks.yml), closing it once the repo passes. Issues live here because the workflow token cannot write to other repos.How it reads the standard
the core as a whole, except [TS2]is understood, and a PV1 exemption drops the free-threaded entry from the PV2 and MD4 expectations too.release.ymlacross repos ignoring action version pins, so a Dependabot bump in one repo is not drift.Current result
Run locally against the org: 24 core repos, 0 failing, 5 warnings (three documented floors drops, two old non-conventional PR titles).
Checklist
uv run pytest: 158 passed, 29 skipped (25 new tests: a fully conforming fixture repo, one failure per sampled requirement, exemptions, the TS6 date switch, RL5 consistency, scope, and parsing the realstandard.mdand profile)mkdocs build --strictpasses