diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index ce317ce..fee1f55 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,6 +1,6 @@ repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.6.0 + rev: v5.0.0 hooks: - id: check-toml name: Check TOML @@ -18,12 +18,12 @@ repos: exclude: ^.*\.ttl$ - repo: https://github.com/ambv/black - rev: 24.8.0 + rev: 24.10.0 hooks: - id: black - repo: https://github.com/SINTEF/ci-cd - rev: v2.8.2 + rev: v2.8.3 hooks: - id: docs-api-reference args: @@ -31,7 +31,7 @@ repos: - id: docs-landing-page - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.6.7 + rev: v0.8.2 hooks: - id: ruff args: @@ -39,20 +39,20 @@ repos: - --show-fixes - repo: https://github.com/asottile/pyupgrade - rev: v3.17.0 + rev: v3.19.0 hooks: - id: pyupgrade args: [--py310-plus] - repo: https://github.com/PyCQA/bandit - rev: '1.7.10' + rev: '1.8.0' hooks: - id: bandit args: [-r] exclude: ^tests/.*$ - repo: https://github.com/pre-commit/mirrors-mypy - rev: v1.11.2 + rev: v1.13.0 hooks: - id: mypy exclude: ^tests/.*$ diff --git a/pyproject.toml b/pyproject.toml index deda4d5..d4ca94e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -48,7 +48,7 @@ docs = [ "mkdocstrings[python]~=0.26.0", ] dev = [ - "pre-commit~=3.6", + "pre-commit~=4.0", "pytest~=8.0", "pytest-cov~=5.0", "turtle-canon[docs]",