]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
pre-commit: add `check-case-conflict` and `check-merge-conflict` (#117259)
authorHugo van Kemenade <1324225+hugovk@users.noreply.github.com>
Tue, 26 Mar 2024 14:09:09 +0000 (16:09 +0200)
committerGitHub <noreply@github.com>
Tue, 26 Mar 2024 14:09:09 +0000 (16:09 +0200)
.pre-commit-config.yaml

index 69d85238985150c6508f8e2c1448cc8dc0c83203..663a11897d98e2ed182c0b4e8f4173cb38066f26 100644 (file)
@@ -1,6 +1,6 @@
 repos:
   - repo: https://github.com/astral-sh/ruff-pre-commit
-    rev: v0.2.0
+    rev: v0.3.4
     hooks:
       - id: ruff
         name: Run Ruff on Lib/test/
@@ -14,6 +14,8 @@ repos:
   - repo: https://github.com/pre-commit/pre-commit-hooks
     rev: v4.5.0
     hooks:
+      - id: check-case-conflict
+      - id: check-merge-conflict
       - id: check-toml
         exclude: ^Lib/test/test_tomllib/
       - id: check-yaml