From cd179530f181856eb41f00edbd81182e0543c2ac Mon Sep 17 00:00:00 2001 From: Timo Reents Date: Wed, 4 Dec 2024 16:01:14 +0100 Subject: [PATCH] Update pre-commit config --- .pre-commit-config.yaml | 22 ++++++++++++++++++---- 1 file changed, 18 insertions(+), 4 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 9063423..69bb87a 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,13 +1,27 @@ repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v2.2.3 + rev: v4.6.0 hooks: - id: trailing-whitespace + - id: end-of-file-fixer + - id: double-quote-string-fixer -- repo: https://github.com/ambv/black - rev: 23.3.0 +- repo: https://github.com/ikamensh/flynt/ + rev: 1.0.1 hooks: - - id: black + - id: flynt + +- repo: https://github.com/astral-sh/ruff-pre-commit + rev: v0.8.0 + hooks: + - id: ruff-format + - id: ruff + args: [--fix, --exit-non-zero-on-fix, --show-fixes] + +- repo: https://github.com/PyCQA/prospector + rev: v1.13.3 + hooks: + - id: prospector #- repo: local # hooks: