From: Hugo van Kemenade Date: Sun, 25 Jun 2023 10:44:23 +0000 (+0300) Subject: Add end-of-file-fixer to pre-commit (#106065) X-Git-Tag: v3.13.0a1~1650 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8c24a837371439b8e922ff47275085b581f510c5;p=thirdparty%2FPython%2Fcpython.git Add end-of-file-fixer to pre-commit (#106065) --- diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 464bcde6e984..d62c57c04472 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -3,6 +3,9 @@ repos: rev: v4.4.0 hooks: - id: check-yaml + - id: end-of-file-fixer + types: [python] + exclude: Lib/test/coding20731.py - id: trailing-whitespace types_or: [c, python, rst]