⚙ pre-commit: Add pre-commit-update hook (to update hooks using pre-commit)

pull/92/head
Mike Gerber 1 year ago
parent 061ba16461
commit 4e0d4dcf09

@ -1,5 +1,3 @@
# See https://pre-commit.com for more information
# See https://pre-commit.com/hooks.html for more hooks
repos: repos:
- repo: https://github.com/pre-commit/pre-commit-hooks - repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0 rev: v4.5.0
@ -20,8 +18,10 @@ repos:
- repo: https://github.com/astral-sh/ruff-pre-commit - repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.1.1 rev: v0.1.1
hooks: hooks:
- id: ruff - args:
args: [--fix, --exit-non-zero-on-fix] - --fix
- --exit-non-zero-on-fix
id: ruff
- repo: https://github.com/pre-commit/mirrors-mypy - repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.6.1 rev: v1.6.1
@ -29,3 +29,8 @@ repos:
- additional_dependencies: - additional_dependencies:
- types-setuptools - types-setuptools
id: mypy id: mypy
- repo: https://gitlab.com/vojko.pribudic/pre-commit-update
rev: v0.1.0
hooks:
- id: pre-commit-update

Loading…
Cancel
Save