Skip to content

Commit 498601b

Browse files
BordaAA-Turner
andauthored
Update pre-commit hook versions (#163)
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
1 parent 674264e commit 498601b

File tree

2 files changed

+20
-23
lines changed

2 files changed

+20
-23
lines changed

.pre-commit-config.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
repos:
22
- repo: https://github.com/astral-sh/ruff-pre-commit
3-
rev: v0.3.7
3+
rev: v0.5.7
44
hooks:
55
- id: ruff
66
- id: ruff-format
@@ -19,11 +19,11 @@ repos:
1919
- id: trailing-whitespace
2020

2121
- repo: https://github.com/tox-dev/pyproject-fmt
22-
rev: 1.7.0
22+
rev: 2.1.1
2323
hooks:
2424
- id: pyproject-fmt
2525

2626
- repo: https://github.com/abravalheri/validate-pyproject
27-
rev: v0.16
27+
rev: v0.17
2828
hooks:
2929
- id: validate-pyproject

pyproject.toml

Lines changed: 17 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[build-system]
22
build-backend = "flit_core.buildapi"
33
requires = [
4-
"flit_core>=3.7",
4+
"flit-core>=3.7",
55
]
66

77
[project]
@@ -10,8 +10,8 @@ description = "Rebuild Sphinx documentation on changes, with hot reloading in th
1010
readme = "README.rst"
1111
license.text = "MIT"
1212
authors = [
13-
{name = "Adam Turner"},
14-
{name = "Jonathan Stoppani", email = "jonathan@stoppani.name"},
13+
{ name = "Adam Turner" },
14+
{ name = "Jonathan Stoppani", email = "jonathan@stoppani.name" },
1515
]
1616
requires-python = ">=3.9"
1717
classifiers = [
@@ -49,30 +49,27 @@ dependencies = [
4949
"watchfiles>=0.20",
5050
"websockets>=11",
5151
]
52-
[project.optional-dependencies]
53-
docs = [
52+
optional-dependencies.docs = [
5453
]
55-
test = [
54+
optional-dependencies.test = [
5655
"httpx",
5756
"pytest>=6",
5857
]
59-
[project.urls]
60-
Changelog = "https://github.com/sphinx-doc/sphinx-autobuild/blob/main/NEWS.rst"
61-
Documentation = "https://github.com/sphinx-doc/sphinx-autobuild#readme"
62-
Download = "https://pypi.org/project/sphinx-autobuild/"
63-
"Issue tracker" = "https://github.com/sphinx-doc/sphinx-autobuild/issues"
64-
Source = "https://github.com/sphinx-doc/sphinx-autobuild"
65-
[project.scripts]
66-
sphinx-autobuild = "sphinx_autobuild.__main__:main"
58+
urls.Changelog = "https://github.com/sphinx-doc/sphinx-autobuild/blob/main/NEWS.rst"
59+
urls.Documentation = "https://github.com/sphinx-doc/sphinx-autobuild#readme"
60+
urls.Download = "https://pypi.org/project/sphinx-autobuild/"
61+
urls."Issue tracker" = "https://github.com/sphinx-doc/sphinx-autobuild/issues"
62+
urls.Source = "https://github.com/sphinx-doc/sphinx-autobuild"
63+
scripts.sphinx-autobuild = "sphinx_autobuild.__main__:main"
6764

6865
[tool.flit.sdist]
6966
include = [
70-
"AUTHORS.rst",
71-
"LICENSE.rst",
72-
"NEWS.rst",
73-
# Tests
74-
"tests/",
75-
"noxfile.py",
67+
"AUTHORS.rst",
68+
"LICENSE.rst",
69+
"NEWS.rst",
70+
# Tests
71+
"tests/",
72+
"noxfile.py",
7673
]
7774

7875
[tool.pyproject-fmt]

0 commit comments

Comments
 (0)