Skip to content

Commit 9b0df69

Browse files
intgrbhrutledge
andauthored
Project URLs keys should be capitalized in pyproject.toml (#1250)
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. Co-authored-by: Brian Rutledge <[email protected]>
1 parent 26b65e6 commit 9b0df69

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

source/specifications/declaring-project-metadata.rst

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -289,10 +289,10 @@ URL itself.
289289
.. code-block:: toml
290290
291291
[project.urls]
292-
homepage = "https://example.com"
293-
documentation = "https://readthedocs.org"
294-
repository = "https://github.com/me/spam.git"
295-
changelog = "https://github.com/me/spam/blob/master/CHANGELOG.md"
292+
Homepage = "https://example.com"
293+
Documentation = "https://readthedocs.org"
294+
Repository = "https://github.com/me/spam.git"
295+
Changelog = "https://github.com/me/spam/blob/master/CHANGELOG.md"
296296
297297
Entry points
298298
------------
@@ -464,10 +464,10 @@ Example
464464
]
465465
466466
[project.urls]
467-
homepage = "https://example.com"
468-
documentation = "https://readthedocs.org"
469-
repository = "https://github.com/me/spam.git"
470-
changelog = "https://github.com/me/spam/blob/master/CHANGELOG.md"
467+
Homepage = "https://example.com"
468+
Documentation = "https://readthedocs.org"
469+
Repository = "https://github.com/me/spam.git"
470+
Changelog = "https://github.com/me/spam/blob/master/CHANGELOG.md"
471471
472472
[project.scripts]
473473
spam-cli = "spam:main_cli"

0 commit comments

Comments
 (0)