aboutsummaryrefslogtreecommitdiffstats
path: root/.pre-commit-config.yaml
diff options
context:
space:
mode:
authorColin Wilk <colin@wilk.cx>2026-06-28 23:24:21 +0200
committerColin Wilk <colin@wilk.cx>2026-06-28 23:24:21 +0200
commita0432093db76d7bb462f113d4bbeca0a8f376e95 (patch)
tree1a7bd3659d22f07ed3d3dfc035d88913b85d37ed /.pre-commit-config.yaml
parent1143a273413e8c3df0b4c0f553eab30acb0804f8 (diff)
downloadansible-role-borgbackup-a0432093db76d7bb462f113d4bbeca0a8f376e95.tar.gz
ansible-role-borgbackup-a0432093db76d7bb462f113d4bbeca0a8f376e95.zip
Format python files with ruff
Diffstat (limited to '.pre-commit-config.yaml')
-rw-r--r--.pre-commit-config.yaml8
1 files changed, 7 insertions, 1 deletions
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