diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index f3021c8..74ce081 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -12,7 +12,7 @@ repos: - id: biome-format exclude: ^\.cruft\.json$ # inconsistent indentation with cruft - file never to be modified manually. - repo: https://github.com/tox-dev/pyproject-fmt - rev: v2.11.1 + rev: v2.12.1 hooks: - id: pyproject-fmt - repo: https://github.com/astral-sh/ruff-pre-commit diff --git a/pyproject.toml b/pyproject.toml index 1b758f5..53ed78d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -45,7 +45,7 @@ optional-dependencies.doc = [ "pandas", # Until pybtex >0.24.0 releases: https://bitbucket.org/pybtex-devs/pybtex/issues/169/ "setuptools", - "sphinx<9", #>=8.1 + "sphinx<9", #>=8.1 "sphinx-autodoc-typehints", "sphinx-book-theme>=1", "sphinx-copybutton", @@ -81,6 +81,9 @@ scripts.build = "sphinx-build -M html docs docs/_build -W {args}" scripts.open = "python -m webbrowser -t docs/_build/html/index.html" scripts.clean = "git clean -fdX -- {args:docs}" +[tool.hatch.envs.hatch-test] +features = [ "dev", "test" ] + # Test the lowest and highest supported Python versions with normal deps [[tool.hatch.envs.hatch-test.matrix]] deps = [ "stable" ] @@ -91,9 +94,6 @@ python = [ "3.10", "3.13" ] deps = [ "pre" ] python = [ "3.13" ] -[tool.hatch.envs.hatch-test] -features = [ "dev", "test" ] - [tool.hatch.envs.hatch-test.overrides] # If the matrix variable `deps` is set to "pre", # set the environment variable `UV_PRERELEASE` to "allow".