Skip to content

Commit 12e0553

Browse files
committed
Format pyproject.toml
1 parent 6d039d4 commit 12e0553

File tree

2 files changed

+60
-62
lines changed

2 files changed

+60
-62
lines changed

.pre-commit-config.yaml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,6 @@ repos:
1818
- id: forbid-new-submodules
1919
- id: trailing-whitespace
2020

21-
- repo: https://github.com/tox-dev/pyproject-fmt
22-
rev: 2.2.1
23-
hooks:
24-
- id: pyproject-fmt
25-
2621
- repo: https://github.com/abravalheri/validate-pyproject
2722
rev: v0.19
2823
hooks:

pyproject.toml

Lines changed: 60 additions & 57 deletions
Original file line numberDiff line numberDiff line change
@@ -1,75 +1,78 @@
11
[build-system]
2+
requires = ["flit-core>=3.7"]
23
build-backend = "flit_core.buildapi"
3-
requires = [
4-
"flit-core>=3.7",
5-
]
64

5+
# project metadata
76
[project]
87
name = "sphinx-autobuild"
98
description = "Rebuild Sphinx documentation on changes, with hot reloading in the browser."
109
readme = "README.rst"
10+
urls.Changelog = "https://github.com/sphinx-doc/sphinx-autobuild/blob/main/NEWS.rst"
11+
urls.Documentation = "https://github.com/sphinx-doc/sphinx-autobuild#readme"
12+
urls.Download = "https://pypi.org/project/sphinx-autobuild/"
13+
urls."Issue tracker" = "https://github.com/sphinx-doc/sphinx-autobuild/issues"
14+
urls.Source = "https://github.com/sphinx-doc/sphinx-autobuild"
1115
license.text = "MIT"
12-
authors = [
13-
{ name = "Adam Turner" },
14-
{ name = "Jonathan Stoppani", email = "[email protected]" },
15-
]
1616
requires-python = ">=3.11"
17+
18+
# Classifiers list: https://pypi.org/classifiers/
1719
classifiers = [
18-
"Development Status :: 5 - Production/Stable",
19-
"Environment :: Console",
20-
"Environment :: Web Environment",
21-
"Framework :: Sphinx",
22-
"Intended Audience :: Developers",
23-
"License :: OSI Approved :: MIT License",
24-
"Operating System :: OS Independent",
25-
"Programming Language :: Python",
26-
"Programming Language :: Python :: 3 :: Only",
27-
"Programming Language :: Python :: 3.11",
28-
"Programming Language :: Python :: 3.12",
29-
"Programming Language :: Python :: 3.13",
30-
"Programming Language :: Python :: 3.14",
31-
"Programming Language :: Python :: Implementation :: CPython",
32-
"Programming Language :: Python :: Implementation :: PyPy",
33-
"Topic :: Documentation",
34-
"Topic :: Documentation :: Sphinx",
35-
"Topic :: Software Development",
36-
"Topic :: Software Development :: Documentation",
37-
"Topic :: Software Development :: Libraries :: Python Modules",
38-
"Topic :: Utilities",
39-
]
40-
dynamic = [
41-
"version",
20+
"Development Status :: 5 - Production/Stable",
21+
"Environment :: Console",
22+
"Environment :: Web Environment",
23+
"Framework :: Sphinx",
24+
"Intended Audience :: Developers",
25+
"License :: OSI Approved :: MIT License",
26+
"Operating System :: OS Independent",
27+
"Programming Language :: Python",
28+
"Programming Language :: Python :: 3",
29+
"Programming Language :: Python :: 3 :: Only",
30+
"Programming Language :: Python :: 3.11",
31+
"Programming Language :: Python :: 3.12",
32+
"Programming Language :: Python :: 3.13",
33+
"Programming Language :: Python :: 3.14",
34+
"Programming Language :: Python :: Implementation :: CPython",
35+
"Programming Language :: Python :: Implementation :: PyPy",
36+
"Topic :: Documentation",
37+
"Topic :: Documentation :: Sphinx",
38+
"Topic :: Software Development",
39+
"Topic :: Software Development :: Documentation",
40+
"Topic :: Software Development :: Libraries :: Python Modules",
41+
"Topic :: Utilities",
4242
]
4343
dependencies = [
44-
"colorama>=0.4.6",
45-
"sphinx",
46-
"starlette>=0.35",
47-
"uvicorn>=0.25",
48-
"watchfiles>=0.20",
49-
"websockets>=11",
50-
]
51-
optional-dependencies.docs = [
44+
"colorama>=0.4.6",
45+
"Sphinx",
46+
"starlette>=0.35",
47+
"uvicorn>=0.25",
48+
"watchfiles>=0.20",
49+
"websockets>=11",
5250
]
53-
optional-dependencies.test = [
54-
"httpx",
55-
"pytest>=6",
51+
dynamic = ["version"]
52+
53+
[project.optional-dependencies]
54+
docs = []
55+
test = [
56+
"httpx",
57+
"pytest>=6",
5658
]
57-
urls.Changelog = "https://github.com/sphinx-doc/sphinx-autobuild/blob/main/NEWS.rst"
58-
urls.Documentation = "https://github.com/sphinx-doc/sphinx-autobuild#readme"
59-
urls.Download = "https://pypi.org/project/sphinx-autobuild/"
60-
urls."Issue tracker" = "https://github.com/sphinx-doc/sphinx-autobuild/issues"
61-
urls.Source = "https://github.com/sphinx-doc/sphinx-autobuild"
62-
scripts.sphinx-autobuild = "sphinx_autobuild.__main__:main"
59+
60+
[[project.authors]]
61+
name = "Adam Turner"
62+
63+
[[project.authors]]
64+
name = "Jonathan Stoppani"
65+
66+
67+
[project.scripts]
68+
sphinx-autobuild = "sphinx_autobuild.__main__:main"
6369

6470
[tool.flit.sdist]
6571
include = [
66-
"AUTHORS.rst",
67-
"LICENSE.rst",
68-
"NEWS.rst",
69-
# Tests
70-
"tests/",
71-
"noxfile.py",
72+
"AUTHORS.rst",
73+
"LICENSE.rst",
74+
"NEWS.rst",
75+
# Tests
76+
"tests/",
77+
"noxfile.py",
7278
]
73-
74-
[tool.pyproject-fmt]
75-
max_supported_python = "3.14"

0 commit comments

Comments
 (0)