]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.11] pre-commit: add `check-case-conflict` and `check-merge-conflict` (GH-117259...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Tue, 26 Mar 2024 14:11:30 +0000 (15:11 +0100)
committerGitHub <noreply@github.com>
Tue, 26 Mar 2024 14:11:30 +0000 (14:11 +0000)
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
.pre-commit-config.yaml

index ad9593cc38a74f07b8fb894e5fcbd4af5633a31f..04a0d1fe65e4d4a2233fa3480210b20e589d723b 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/
@@ -10,6 +10,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