From f7ce8ab596600181b925b553d8cc78af35724659 Mon Sep 17 00:00:00 2001 From: Steven van de Graaf Date: Mon, 13 May 2024 21:26:40 +0200 Subject: [PATCH] :arrow_up: Auto-updated `pre-commit` configs --- .pre-commit-config.yaml | 10 +++------- .../.pre-commit-config.yaml | 14 +++++--------- 2 files changed, 8 insertions(+), 16 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 3424839..fb3b3dd 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -6,15 +6,11 @@ ci: autoupdate_schedule: quarterly autoupdate_commit_msg: ":arrow_up: [pre-commit.ci] pre-commit autoupdate" -default_language_version: - # Black recommends specifying the latest version of Python supported - python: python3.12 - exclude: "^{{ cookiecutter\\.project_name }}/" repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.5.0 + rev: v4.6.0 hooks: - id: check-added-large-files - id: check-json @@ -23,12 +19,12 @@ repos: - id: end-of-file-fixer - id: trailing-whitespace - repo: https://github.com/python-jsonschema/check-jsonschema - rev: 0.28.0 + rev: 0.28.3 hooks: - id: check-dependabot - id: check-github-workflows - repo: https://github.com/charliermarsh/ruff-pre-commit - rev: v0.3.4 + rev: v0.4.4 hooks: - id: ruff args: diff --git a/{{ cookiecutter.project_name }}/.pre-commit-config.yaml b/{{ cookiecutter.project_name }}/.pre-commit-config.yaml index e0e7ade..656b8cc 100644 --- a/{{ cookiecutter.project_name }}/.pre-commit-config.yaml +++ b/{{ cookiecutter.project_name }}/.pre-commit-config.yaml @@ -9,13 +9,9 @@ ci: autoupdate_schedule: quarterly autoupdate_commit_msg: ":arrow_up: [pre-commit.ci] pre-commit autoupdate" -default_language_version: - # Black recommends specifying the latest version of Python supported - python: python3.12 - repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.5.0 + rev: v4.6.0 hooks: - id: check-added-large-files - id: check-json @@ -25,24 +21,24 @@ repos: - id: end-of-file-fixer - id: trailing-whitespace - repo: https://github.com/abravalheri/validate-pyproject - rev: v0.16 + rev: v0.17 hooks: - id: validate-pyproject - repo: https://github.com/python-jsonschema/check-jsonschema - rev: 0.28.0 + rev: 0.28.3 hooks: - id: check-dependabot - id: check-github-workflows - id: check-readthedocs - repo: https://github.com/charliermarsh/ruff-pre-commit - rev: v0.3.4 + rev: v0.4.4 hooks: - id: ruff args: - --fix - id: ruff-format - repo: https://github.com/pre-commit/mirrors-mypy - rev: v1.9.0 + rev: v1.10.0 hooks: - id: mypy - repo: https://github.com/codespell-project/codespell