From c94a8dda115e10f7d6bbb47f55fab850d1321d20 Mon Sep 17 00:00:00 2001 From: Gideon Date: Sun, 11 Jan 2026 13:13:25 +0100 Subject: [PATCH] Update .pre-commit-hooks.yaml `files` takes a regex (https://pre-commit.com/#hooks-files), see [pyproject-fmt](https://github.com/tox-dev/pyproject-fmt/blob/e98095a8ec63852aaf72683ee694e97986a2b48e/.pre-commit-hooks.yaml) for an example --- .pre-commit-hooks.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.pre-commit-hooks.yaml b/.pre-commit-hooks.yaml index bfb5432..d498873 100644 --- a/.pre-commit-hooks.yaml +++ b/.pre-commit-hooks.yaml @@ -2,12 +2,12 @@ name: Check supported Python EOL entry: checkeol language: python - files: '^pyproject.toml$' + files: '^pyproject\.toml$' types: [toml] - id: check-eol-cached name: Check supported Python EOL (cache only) entry: checkeol --cache_only language: python - files: '^pyproject.toml$' + files: '^pyproject\.toml$' types: [toml]