From e33ac034dc8627a821f47cbc6b44f2a060fdf2c5 Mon Sep 17 00:00:00 2001 From: correctmost <134317971+correctmost@users.noreply.github.com> Date: Sat, 30 Nov 2024 19:01:02 -0500 Subject: [PATCH] Replace deprecated stage name in pre-commit config (#2975) This commit fixes the following warning: "top-level `default_stages` uses deprecated stage names (commit) which will be removed in a future version." --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index a5294664..d75e9183 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,4 +1,4 @@ -default_stages: ['commit'] +default_stages: ['pre-commit'] repos: - repo: https://github.com/pycqa/autoflake rev: v2.3.1