Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update pre-commit hook versions #163

Merged
merged 4 commits into from
Aug 14, 2024
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 8 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
ci:
autofix_prs: true
autoupdate_commit_msg: "[pre-commit.ci] pre-commit suggestions"
autoupdate_schedule: quarterly

Borda marked this conversation as resolved.
Show resolved Hide resolved
repos:
Borda marked this conversation as resolved.
Show resolved Hide resolved
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.3.7
rev: v0.4.4
Borda marked this conversation as resolved.
Show resolved Hide resolved
hooks:
- id: ruff
- id: ruff-format
Expand All @@ -19,11 +24,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
Loading