From faf48b9351cc515d8fc5c1beeeb5c3ddd53d36cf Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 4 Nov 2024 09:18:22 +0100 Subject: [PATCH 1/2] Update pre-commit requirement from ~=3.6 to ~=4.0 (#228) Updates the requirements on [pre-commit](https://github.com/pre-commit/pre-commit) to permit the latest version. - [Release notes](https://github.com/pre-commit/pre-commit/releases) - [Changelog](https://github.com/pre-commit/pre-commit/blob/main/CHANGELOG.md) - [Commits](https://github.com/pre-commit/pre-commit/compare/v3.6.0...v4.0.0) --- updated-dependencies: - dependency-name: pre-commit dependency-type: direct:production ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]", From 25c69dadc03fa2d433e2ff9de39ca66fe2d7f340 Mon Sep 17 00:00:00 2001 From: CasperWA Date: Wed, 11 Dec 2024 06:40:40 +0000 Subject: [PATCH 2/2] Update `pre-commit` hooks --- .pre-commit-config.yaml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) 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/.*$