]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Add CODEOWNERS and YAML to end-of-file-fixer and trailing-whitespace (#134730)
authorHugo van Kemenade <1324225+hugovk@users.noreply.github.com>
Mon, 26 May 2025 17:42:38 +0000 (20:42 +0300)
committerGitHub <noreply@github.com>
Mon, 26 May 2025 17:42:38 +0000 (18:42 +0100)
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
.github/workflows/tail-call.yml
.pre-commit-config.yaml
.readthedocs.yml

index 4636372e26c41be7569b1683546be6d5982ba8e8..e32cbf0aaa3c3ecd76c15cc01c9dc3abcfe9b60c 100644 (file)
@@ -137,4 +137,3 @@ jobs:
           CC=clang-20 ./configure --with-tail-call-interp --disable-gil
           make all --jobs 4
           ./python -m test --multiprocess 0 --timeout 4500 --verbose2 --verbose3
-
index 3632cf392039f500e78edb51edbe1121dd603370..822a8a9f4e50767497de9e76482b6911ff93646b 100644 (file)
@@ -43,12 +43,14 @@ repos:
         exclude: ^Lib/test/test_tomllib/
       - id: check-yaml
       - id: end-of-file-fixer
-        types: [python]
+        types_or: [python, yaml]
         exclude: Lib/test/tokenizedata/coding20731.py
+      - id: end-of-file-fixer
+        files: '^\.github/CODEOWNERS$'
       - id: trailing-whitespace
-        types_or: [c, inc, python, rst]
+        types_or: [c, inc, python, rst, yaml]
       - id: trailing-whitespace
-        files: '\.(gram)$'
+        files: '^\.github/CODEOWNERS|\.(gram)$'
 
   - repo: https://github.com/python-jsonschema/check-jsonschema
     rev: 0.33.0
index a57de00544e4e3ecb5f87c920d5d635f5ab7c6c5..0a2c3f8345367f4dee6ca52c65be624e3480ce83 100644 (file)
@@ -32,4 +32,3 @@ build:
     - make -C Doc venv html
     - mkdir _readthedocs
     - mv Doc/build/html _readthedocs/html
-