From 4e0d4dcf09329ef71af319b2405d8e35461518c3 Mon Sep 17 00:00:00 2001 From: Mike Gerber Date: Mon, 23 Oct 2023 15:08:16 +0200 Subject: [PATCH] =?UTF-8?q?=E2=9A=99=20pre-commit:=20Add=20pre-commit-upda?= =?UTF-8?q?te=20hook=20(to=20update=20hooks=20using=20pre-commit)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .pre-commit-config.yaml | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 8a6391d..d0ae66d 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,5 +1,3 @@ -# See https://pre-commit.com for more information -# See https://pre-commit.com/hooks.html for more hooks repos: - repo: https://github.com/pre-commit/pre-commit-hooks rev: v4.5.0 @@ -20,8 +18,10 @@ repos: - repo: https://github.com/astral-sh/ruff-pre-commit rev: v0.1.1 hooks: - - id: ruff - args: [--fix, --exit-non-zero-on-fix] + - args: + - --fix + - --exit-non-zero-on-fix + id: ruff - repo: https://github.com/pre-commit/mirrors-mypy rev: v1.6.1 @@ -29,3 +29,8 @@ repos: - additional_dependencies: - types-setuptools id: mypy + +- repo: https://gitlab.com/vojko.pribudic/pre-commit-update + rev: v0.1.0 + hooks: + - id: pre-commit-update