Skip to content
Commit 780f7eb3 authored by Matthew Hughes's avatar Matthew Hughes
Browse files

Update stage names for `pre-commit`

`pre-commit` v4.0.0 added a warning to deprecated stage names[1] so
update these names to avoid the warning. This also required updating the
minimum `pre-commit` version to one that supports the new names

See also[2] for a similar change and the docs[3].

[1] https://github.com/pre-commit/pre-commit/blob/cc4a52241565440ce200666799eef70626457488/CHANGELOG.md#400---2024-10-05
[2] https://github.com/pre-commit/pre-commit-hooks/commit/003dfa55c9eb05b08b33f60864363392958f4618
[3] https://pre-commit.com/#confining-hooks-to-run-at-certain-stages

Fixes: https://github.com/PyCQA/isort/issues/2294
parent 91b89730
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment