From 2a7ec3ca2502009c123a9577004d4f75de793636 Mon Sep 17 00:00:00 2001 From: Chris Bachhuber Date: Mon, 18 Nov 2024 10:16:18 +0100 Subject: [PATCH 1/2] Remove pass_filenames from pre-commit hook --- .pre-commit-hooks.yaml | 1 - 1 file changed, 1 deletion(-) diff --git a/.pre-commit-hooks.yaml b/.pre-commit-hooks.yaml index 8d2df77e..04405adc 100644 --- a/.pre-commit-hooks.yaml +++ b/.pre-commit-hooks.yaml @@ -4,6 +4,5 @@ entry: vulture description: Find unused Python code. types: [python] - pass_filenames: false require_serial: true From 0c6e6dd7c091d3dc9188aefe1d164d6d23992e6f Mon Sep 17 00:00:00 2001 From: Chris Bachhuber Date: Mon, 18 Nov 2024 10:22:16 +0100 Subject: [PATCH 2/2] Update CHANGELOG.md --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index a1d999d2..27f85cfe 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,7 @@ # next (unreleased) * Add type hints for `get_unused_code` and the fields of the `Item` class (John Doknjas, #361). +* Remove `pass_filenames: false` from pre-commit hook config # 2.13 (2024-10-02)