FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Move .PHONY to each section to avoid copy/paste omissions by hugovk · Pull Request #972 · python/devguide · GitHub

Move .PHONY to each section to avoid copy/paste omissions - #972

Merged
JelleZijlstra merged 1 commit into
python:mainfrom
hugovk:fix-phony-targets
Oct 21, 2022
Merged

Move .PHONY to each section to avoid copy/paste omissions#972
JelleZijlstra merged 1 commit into
python:mainfrom
hugovk:fix-phony-targets

Conversation

hugovk commented Oct 21, 2022
edited
Loading

Copy link
Copy Markdown
Member

Similar to python/cpython#98189, the list of phony targets in the Makefile had got out of sync with the commands: clean-venv, ensure-venv and serve were missing.

I expect it will happen again because it's easy to copy and paste a target and not realise/remember to update the list of .PHONY targets at the top of the file.

Let's do as @zware suggested in python/cpython#98189 (comment) and put each one right next to its target.

We do this at Pillow and at work, it helps a lot.

(See also python/cpython#98266 to update the CPython docs Makefile and python/peps#2841 for PEPs.)

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants


Back | FazBrowse Home | New Git URL