From a0432093db76d7bb462f113d4bbeca0a8f376e95 Mon Sep 17 00:00:00 2001 From: Colin Wilk Date: Sun, 28 Jun 2026 23:24:21 +0200 Subject: Format python files with ruff --- .pre-commit-config.yaml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to '.pre-commit-config.yaml') diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index e9eb853..2b893f4 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -7,7 +7,6 @@ repos: - id: check-added-large-files - id: check-yaml - id: trailing-whitespace - - id: double-quote-string-fixer - id: end-of-file-fixer - repo: https://github.com/ansible-community/ansible-lint.git @@ -20,3 +19,10 @@ repos: rev: v0.43.0 hooks: - id: markdownlint + + - repo: https://github.com/astral-sh/ruff-pre-commit + rev: v0.15.20 + hooks: + - id: ruff-check + args: [--fix] + - id: ruff-format -- cgit v1.2.3