From 1724534bc8ba0dbc2db86f0a44eafececc96cb7e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Erik=20Bj=C3=A4reholt?= Date: Tue, 15 Oct 2024 16:39:57 +0200 Subject: [PATCH] build: updated hooks in pre-commit config --- .pre-commit-config.yaml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index a1ac3c0d..15fcc4b5 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,21 +1,18 @@ repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v2.3.0 + rev: v5.0.0 hooks: - id: check-yaml - id: end-of-file-fixer - id: trailing-whitespace - repo: https://github.com/astral-sh/ruff-pre-commit - # Ruff version. rev: v0.6.9 hooks: - # Run the linter. - id: ruff args: [ --fix ] - # Run the formatter. - id: ruff-format - repo: https://github.com/pre-commit/mirrors-mypy - rev: '' # Use the sha / tag you want to point at + rev: v1.12.0 hooks: - id: mypy additional_dependencies: [types-tabulate, types-docutils]