Skip to content

ci: fetch the ADR citation check from .github instead of keeping a copy - #266

Merged
lesnik512 merged 1 commit into
mainfrom
shared-adr-check
Sep 27, 2026
Merged

lesnik512 merged 1 commit into
mainfrom
shared-adr-check

Conversation

@lesnik512

Copy link
Copy Markdown
Member

What

Deletes tests/test_adr_citations.py and adds the just adr-check recipe and lint step used by the other 24 repos: fetch the shared check from modern-python/.github at main into a temp dir inside the repo, run it with pytest --rootdir=. --noconftest -o addopts=.

Why

This repo's copy was the stricter variant (bare ADR-NNNN, .md/.toml scanning, site/ skipped). modern-python/.github#120 made that the shared version, so the copy is now pure duplication, and it was the last one still finding the repo root through __file__. The recipe is byte-identical to eof-fixer's.

Verified

just adr-check against .github main: 9 passed, rootdir this repo, no temp dir left behind. just lint-ci clean.

@lesnik512
lesnik512 merged commit 9f7d5f7 into main Sep 27, 2026
37 checks passed
@lesnik512
lesnik512 deleted the shared-adr-check branch September 27, 2026 20:21
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