X Tutup
The Wayback Machine - https://web.archive.org/web/20221223140423/https://github.com/python/cpython/pull/99396
Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking 鈥淪ign up for GitHub鈥, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docs: Move .PHONY to each section to avoid copy/paste omissions #99396

Merged
merged 1 commit into from Nov 27, 2022

Conversation

hugovk
Copy link
Member

@hugovk hugovk commented Nov 11, 2022

(Cherry picked from #98266)

PR #98189 recently fixed some missing .PHONY targets. 馃憤

I expect missing .PHONY targets will happen again, because it's normal to copy/paste a target, and forget (or not know) to update the long .PHONY line right at the top.

Let's do as @zware suggested and define them right next to each target: #98189 (comment)

We do this at Pillow and at work, it helps a lot, and I've also done it for the devguide and PEPs.

zware
zware approved these changes Nov 26, 2022
@hugovk hugovk merged commit 969620d into python:main Nov 27, 2022
14 checks passed
@hugovk hugovk deleted the docs-tidy-phony-targets branch Nov 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants
X Tutup