summaryrefslogtreecommitdiffstats
path: root/.pre-commit-config.yaml
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-09-11 12:10:20 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-09-11 12:10:20 +0000
commitaf35234f452fde58f2a445b656c7cd334368b301 (patch)
treeb4035453c237a13cfddcc23c1bd1c299df88da22 /.pre-commit-config.yaml
parentReleasing debian version 1.11.1-1. (diff)
downloadlitecli-af35234f452fde58f2a445b656c7cd334368b301.tar.xz
litecli-af35234f452fde58f2a445b656c7cd334368b301.zip
Merging upstream version 1.12.3.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '.pre-commit-config.yaml')
-rw-r--r--.pre-commit-config.yaml13
1 files changed, 9 insertions, 4 deletions
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 17fd047..159c2b6 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -1,5 +1,10 @@
repos:
-- repo: https://github.com/psf/black
- rev: 23.11.0
- hooks:
- - id: black
+- repo: https://github.com/astral-sh/ruff-pre-commit
+ # Ruff version.
+ rev: v0.6.4
+ hooks:
+ # Run the linter.
+ - id: ruff
+ args: [ --fix ]
+ # Run the formatter.
+ - id: ruff-format