Skip to content

Commit

Permalink
Remove most references to PEP numbers (#1091)
Browse files Browse the repository at this point in the history
  • Loading branch information
ofek authored Dec 6, 2023
1 parent 8926bac commit 80f39ea
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
4 changes: 1 addition & 3 deletions docs/.snippets/links.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
[PEP 440 version specifiers]: https://peps.python.org/pep-0440/#version-specifiers
[PEP 508]: https://peps.python.org/pep-0508/
[PEP 517]: https://peps.python.org/pep-0517/
[PEP 621]: https://peps.python.org/pep-0621/
[PEP 631]: https://peps.python.org/pep-0631/
[PEP 639]: https://peps.python.org/pep-0639/
[PEP 660]: https://peps.python.org/pep-0660/
[PEP 665]: https://peps.python.org/pep-0665/
[project metadata standard]: https://packaging.python.org/en/latest/specifications/pyproject-toml/#declaring-project-metadata-the-project-table
4 changes: 3 additions & 1 deletion docs/config/build.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ build-backend = "hatchling.build"

The version of `hatchling` defined here will be used to build all targets.

Hatchling is a [PEP 517][]/[PEP 660][] compatible build backend and is a dependency of Hatch itself.
Hatchling is a standards-compliant[^1] build backend and is a dependency of Hatch itself.

## File selection

Expand Down Expand Up @@ -346,3 +346,5 @@ enable-by-default = false
| `HATCH_BUILD_HOOKS_ENABLE` | `false` | Whether or not to enable all build hooks |
| `HATCH_BUILD_HOOK_ENABLE_<HOOK_NAME>` | `false` | Whether or not to enable the build hook named `<HOOK_NAME>` |
| `HATCH_BUILD_LOCATION` | `dist` | The location with which to build the targets; only used by the [`build`](../cli/reference.md#hatch-build) command |

[^1]: Support for [PEP 517][] and [PEP 660][] guarantees interoperability with other build tools.
4 changes: 2 additions & 2 deletions docs/config/metadata.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
-----

Project metadata is stored in a `pyproject.toml` file located at the root of a project's tree
and is based entirely on [PEP 621][].
and is based entirely on [the standard][project metadata standard].

## Name (*required*) ## {: #name }

Expand Down Expand Up @@ -183,7 +183,7 @@ Documentation = "..."

## Dependencies

The format is based on [PEP 631][]. See the [dependency specification](dependency.md) section for more information.
See the [dependency specification](dependency.md) page for more information.

Entries support [context formatting](context.md) and [disallow direct references](#allowing-direct-references) by default.

Expand Down
2 changes: 1 addition & 1 deletion docs/meta/faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

***Q***: What is the risk of lock-in?

***A***: Not much! Other than the [plugin system](../plugins/about.md), everything uses Python's established standards by default. Project metadata is based entirely on [PEP 621][]/[PEP 631][], the build system is compatible with [PEP 517][]/[PEP 660][], versioning uses the scheme specified by [PEP 440](https://peps.python.org/pep-0440/#public-version-identifiers), dependencies are defined with [PEP 508][] strings, and environments use [virtualenv](https://github.com/pypa/virtualenv).
***A***: Not much! Other than the [plugin system](../plugins/about.md), everything uses Python's established standards by default. Project metadata is based entirely on [the standard][project metadata standard], the build system is compatible with [PEP 517][]/[PEP 660][], versioning uses the scheme specified by [PEP 440](https://peps.python.org/pep-0440/#public-version-identifiers), dependencies are defined with [PEP 508][] strings, and environments use [virtualenv](https://github.com/pypa/virtualenv).

***Q***: Must one use all features?

Expand Down

0 comments on commit 80f39ea

Please sign in to comment.