From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Fri, 27 Jun 2025 13:27:12 +0000 (+0200) Subject: [3.13] gh-92266: Replace tabs with four spaces in Python files (GH-135983) (#136036) X-Git-Tag: v3.13.6~163 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=1e972c74cf22b92e696fe161253ca16c4a074629;p=thirdparty%2FPython%2Fcpython.git [3.13] gh-92266: Replace tabs with four spaces in Python files (GH-135983) (#136036) Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> --- diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 834fdfa2fd32..c445ef627a20 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -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: