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

Project URLs keys should be capitalized in pyproject.toml #1250

Merged
merged 3 commits into from
May 20, 2023

Conversation

intgr
Copy link
Contributor

@intgr intgr commented May 9, 2023

I'm not sure whether this is controversial or not.

In pretty much all other places, the project URLs mapping keys are capitalized, including the "setuptools" guide page. Update pyproject.toml examples too for consistency and current practices.

Examples:

If the keys are not capitalized, the link labels look awkward on the PyPI page, e.g. https://pypi.org/project/ruff/

image

In pretty much all other places, the project URLs mapping keys are capitalized, including the "setuptools" guide page. Update `pyproject.toml` too for consistency and current practices.
Copy link
Contributor

@chrysle chrysle left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It makes sense to capitalize these keys. As the spec says, they are the labels for the urls and can be customized.

In this example, they are even quoted, but I don't think that's necessary.

@bhrutledge bhrutledge enabled auto-merge (squash) May 20, 2023 11:56
Copy link
Contributor

@bhrutledge bhrutledge left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sense to me. Thanks!

@bhrutledge bhrutledge merged commit 9b0df69 into pypa:main May 20, 2023
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.

3 participants