From edc5ad39af76b11db9d6764c78d851ccc94b34b2 Mon Sep 17 00:00:00 2001 From: xwjiang-ms <96218837+xwjiang-ms@users.noreply.github.com> Date: Thu, 22 Aug 2024 09:32:15 +0800 Subject: [PATCH] Update pre-commit version to 1.0.1+pre_commit (#14193) What is the motivation for this PR? PR #13544 has refined the output of check-conditional-mark-sort hook in pre-commit check. Would print more detailed information so that contributors know where to modify. So needs to update pre-commit version. How did you do it? Add a new tag 1.0.1+pre_commit of sonic-mgmt, then update the version in code How did you verify/test it? Checked in local env --- .pre-commit-config.yaml | 2 +- pyproject.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index c35c738df3b..3ba31172603 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -22,6 +22,6 @@ repos: args: ["--max-line-length=120", "--ignore=E1,E2,E3,E5,E7,W5"] - repo: https://github.com/sonic-net/sonic-mgmt - rev: 1.0.0+pre_commit + rev: 1.0.1+pre_commit hooks: - id: check-conditional-mark-sort diff --git a/pyproject.toml b/pyproject.toml index 2124601599d..d7078487ac0 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,7 +1,7 @@ # Local pre-commit hook config [project] name = "sonic-mgmt-pre-commit-hooks" -version = "1.0.0+pre_commit" +version = "1.0.1+pre_commit" description = "Some hooks for pre-commit in sonic-mgmt repo." classifiers = [ "Programming Language :: Python :: 3",