]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.13] gh-92266: Replace tabs with four spaces in Python files (GH-135983) (#136036)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Fri, 27 Jun 2025 13:27:12 +0000 (15:27 +0200)
committerGitHub <noreply@github.com>
Fri, 27 Jun 2025 13:27:12 +0000 (16:27 +0300)
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
.pre-commit-config.yaml

index 834fdfa2fd321dca2f9f718c8a7f6e7ecd95d03c..c445ef627a20c4685c6b9ed5012a9cf5fa6d0d6f 100644 (file)
@@ -26,6 +26,13 @@ repos:
         name: Run Black on Tools/jit/
         files: ^Tools/jit/
 
+  - repo: https://github.com/Lucas-C/pre-commit-hooks
+    rev: v1.5.5
+    hooks:
+      - id: remove-tabs
+        types: [python]
+        exclude: ^Tools/c-analyzer/cpython/_parser.py
+
   - repo: https://github.com/pre-commit/pre-commit-hooks
     rev: v5.0.0
     hooks: