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 “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll 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.

@hugovk hugovk merged commit 969620d into python:main Nov 27, 2022
@hugovk hugovk deleted the docs-tidy-phony-targets branch November 27, 2022 17:48
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.

4 participants