Skip to content

Commit

Permalink
Update pre-commit hook versions (#163)
Browse files Browse the repository at this point in the history
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
  • Loading branch information
Borda and AA-Turner authored Aug 14, 2024
1 parent 674264e commit 498601b
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 23 deletions.
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.3.7
rev: v0.5.7
hooks:
- id: ruff
- id: ruff-format
Expand All @@ -19,11 +19,11 @@ repos:
- id: trailing-whitespace

- repo: https://github.com/tox-dev/pyproject-fmt
rev: 1.7.0
rev: 2.1.1
hooks:
- id: pyproject-fmt

- repo: https://github.com/abravalheri/validate-pyproject
rev: v0.16
rev: v0.17
hooks:
- id: validate-pyproject
37 changes: 17 additions & 20 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[build-system]
build-backend = "flit_core.buildapi"
requires = [
"flit_core>=3.7",
"flit-core>=3.7",
]

[project]
Expand All @@ -10,8 +10,8 @@ description = "Rebuild Sphinx documentation on changes, with hot reloading in th
readme = "README.rst"
license.text = "MIT"
authors = [
{name = "Adam Turner"},
{name = "Jonathan Stoppani", email = "jonathan@stoppani.name"},
{ name = "Adam Turner" },
{ name = "Jonathan Stoppani", email = "jonathan@stoppani.name" },
]
requires-python = ">=3.9"
classifiers = [
Expand Down Expand Up @@ -49,30 +49,27 @@ dependencies = [
"watchfiles>=0.20",
"websockets>=11",
]
[project.optional-dependencies]
docs = [
optional-dependencies.docs = [
]
test = [
optional-dependencies.test = [
"httpx",
"pytest>=6",
]
[project.urls]
Changelog = "https://github.com/sphinx-doc/sphinx-autobuild/blob/main/NEWS.rst"
Documentation = "https://github.com/sphinx-doc/sphinx-autobuild#readme"
Download = "https://pypi.org/project/sphinx-autobuild/"
"Issue tracker" = "https://github.com/sphinx-doc/sphinx-autobuild/issues"
Source = "https://github.com/sphinx-doc/sphinx-autobuild"
[project.scripts]
sphinx-autobuild = "sphinx_autobuild.__main__:main"
urls.Changelog = "https://github.com/sphinx-doc/sphinx-autobuild/blob/main/NEWS.rst"
urls.Documentation = "https://github.com/sphinx-doc/sphinx-autobuild#readme"
urls.Download = "https://pypi.org/project/sphinx-autobuild/"
urls."Issue tracker" = "https://github.com/sphinx-doc/sphinx-autobuild/issues"
urls.Source = "https://github.com/sphinx-doc/sphinx-autobuild"
scripts.sphinx-autobuild = "sphinx_autobuild.__main__:main"

[tool.flit.sdist]
include = [
"AUTHORS.rst",
"LICENSE.rst",
"NEWS.rst",
# Tests
"tests/",
"noxfile.py",
"AUTHORS.rst",
"LICENSE.rst",
"NEWS.rst",
# Tests
"tests/",
"noxfile.py",
]

[tool.pyproject-fmt]
Expand Down

0 comments on commit 498601b

Please sign in to comment.