add warning for deprecated stages names by asottile · Pull Request #3312 · pre-commit/pre-commit
asottile
deleted the
warning-for-old-stage-names
branch
ysndr added a commit to flox/flox that referenced this pull request
Nov 29, 2024For a while when we run the git hooks, on push and commit, the following warning was displayed: ``` [WARNING] hook id `clang-format` uses deprecated stage names (push) which will be removed in a future version. run: `pre-commit migrate-config` to automatically fix this. [WARNING] hook id `clippy` uses deprecated stage names (push) which will be removed in a future version. run: `pre-commit migrate-config` to automatically fix this. [WARNING] hook id `nixfmt-rfc-style` uses deprecated stage names (push) which will be removed in a future version. run: `pre-commit migrate-config` to automatically fix this. [WARNING] hook id `rustfmt` uses deprecated stage names (push) which will be removed in a future version. run: `pre-commit migrate-config` to automatically fix this. [WARNING] top-level `default_stages` uses deprecated stage names (push) which will be removed in a future version. run: `pre-commit migrate-config` to automatically fix this. ``` tl;dr; the `push` stage was renamed to `pre-push` in pre-commit `4.0.0`. See also: - <https://github.com/pre-commit/pre-commit/releases/tag/v4.0.0> - <pre-commit/pre-commit#2732> - <pre-commit/pre-commit#3312>
ysndr
mentioned this pull request
github-merge-queue bot pushed a commit to flox/flox that referenced this pull request
Dec 4, 2024For a while when we run the git hooks, on push and commit, the following warning was displayed: ``` [WARNING] hook id `clang-format` uses deprecated stage names (push) which will be removed in a future version. run: `pre-commit migrate-config` to automatically fix this. [WARNING] hook id `clippy` uses deprecated stage names (push) which will be removed in a future version. run: `pre-commit migrate-config` to automatically fix this. [WARNING] hook id `nixfmt-rfc-style` uses deprecated stage names (push) which will be removed in a future version. run: `pre-commit migrate-config` to automatically fix this. [WARNING] hook id `rustfmt` uses deprecated stage names (push) which will be removed in a future version. run: `pre-commit migrate-config` to automatically fix this. [WARNING] top-level `default_stages` uses deprecated stage names (push) which will be removed in a future version. run: `pre-commit migrate-config` to automatically fix this. ``` tl;dr; the `push` stage was renamed to `pre-push` in pre-commit `4.0.0`. See also: - <https://github.com/pre-commit/pre-commit/releases/tag/v4.0.0> - <pre-commit/pre-commit#2732> - <pre-commit/pre-commit#3312>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters