diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index ee8d422f..b2ff2049 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -7,7 +7,7 @@ exclude: ^src/scikit_build_core/_vendor repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v5.0.0 + rev: v6.0.0 hooks: - id: check-added-large-files - id: check-case-conflict @@ -25,7 +25,7 @@ repos: exclude: "^tests" - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.12.7 + rev: v0.12.11 hooks: - id: ruff args: ["--fix", "--show-fixes"] @@ -105,7 +105,7 @@ repos: exclude: ^(LICENSE$|src/scikit_build_core/resources/find_python|tests/test_skbuild_settings.py$) - repo: https://github.com/shellcheck-py/shellcheck-py - rev: v0.10.0.1 + rev: v0.11.0.1 hooks: - id: shellcheck @@ -131,12 +131,12 @@ repos: additional_dependencies: ["cogapp>=3.5"] - repo: https://github.com/henryiii/validate-pyproject-schema-store - rev: 2025.07.28 + rev: 2025.08.29 hooks: - id: validate-pyproject - repo: https://github.com/python-jsonschema/check-jsonschema - rev: 0.33.2 + rev: 0.33.3 hooks: - id: check-dependabot - id: check-github-workflows diff --git a/docs/conf.py b/docs/conf.py index 254be93d..6eabb232 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -93,15 +93,13 @@ intersphinx_mapping = { "cmake": ("https://cmake.org/cmake/help/latest/", None), "python": ("https://docs.python.org/3", None), - "packaging": ("https://packaging.pypa.io/en/stable", None), - "setuptools": ("https://setuptools.pypa.io/en/latest", None), + "packaging": ("https://packaging.readthedocs.io/en/stable", None), + "setuptools": ("https://setuptools.readthedocs.io/en/latest", None), "hatchling": ("https://hatch.pypa.io/latest", None), } tippy_rtd_urls = [ - val[0] - for key, val in intersphinx_mapping.items() - # Only works with RTD hosted intersphinx - if key not in ("hatchling", "python", "cmake") + "https://packaging.readthedocs.io/en/stable", + "https://setuptools.readthedocs.io/en/latest", ] nitpick_ignore = [