From b2040d2bdf3fd32ca4d89e61b2b1e6c6d8c0cdec Mon Sep 17 00:00:00 2001 From: fdev31 Date: Sat, 2 Nov 2024 22:42:06 +0100 Subject: [PATCH] update pre-commit config --- .pre-commit-config.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 8581ffe1..ee0227ce 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -8,7 +8,7 @@ repos: language: system - repo: https://github.com/astral-sh/ruff-pre-commit # Ruff version. - rev: "v0.4.4" + rev: "v0.7.2" hooks: # Run the linter. - id: ruff @@ -16,14 +16,14 @@ repos: # Run the formatter. - id: ruff-format - repo: https://github.com/pre-commit/pre-commit-hooks - rev: "v4.6.0" + rev: "v5.0.0" hooks: - id: check-yaml - id: check-json - id: pretty-format-json args: ['--autofix', '--no-sort-keys'] - repo: https://github.com/PyCQA/flake8 - rev: 7.0.0 + rev: 7.1.1 hooks: - id: flake8 args: [--max-line-length=140]