Skip to content

Commit

Permalink
Auto-format pyproject.toml with pyproject-fmt tool
Browse files Browse the repository at this point in the history
Extracted from #201 to make a
cleaner diff.

References:

* https://pyproject-fmt.readthedocs.io/en/latest/
  • Loading branch information
edgarrmondragon committed Dec 22, 2023
1 parent c98aa54 commit 7581417
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 5 deletions.
6 changes: 6 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,3 +53,9 @@ repos:
rev: "1.16.0"
hooks:
- id: blacken-docs

- repo: https://github.com/tox-dev/pyproject-fmt
rev: "1.5.3"
hooks:
- id: pyproject-fmt
args: [--indent, "4"]
17 changes: 12 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,22 +1,29 @@
[build-system]
requires = ["flit_core >=3.2.0,<4"]
build-backend = "flit_core.buildapi"
requires = [
"flit_core<4,>=3.2",
]

[project]
name = "installer"
readme = "README.md"
authors = [
{ name = "Pradyun Gedam", email = "[email protected]" },
]
readme = "README.md"
requires-python = ">=3.8"
classifiers = [
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
]
requires-python = ">=3.8"
dynamic = [
"version",
"description",
"version",
]

[project.urls]
"GitHub" = "https://github.com/pypa/installer"

Expand Down

0 comments on commit 7581417

Please sign in to comment.