Skip to content

Commit edc5ad3

Browse files
authored
Update pre-commit version to 1.0.1+pre_commit (sonic-net#14193)
What is the motivation for this PR? PR sonic-net#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
1 parent 3f24a4b commit edc5ad3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.pre-commit-config.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,6 @@ repos:
2222
args: ["--max-line-length=120", "--ignore=E1,E2,E3,E5,E7,W5"]
2323

2424
- repo: https://github.com/sonic-net/sonic-mgmt
25-
rev: 1.0.0+pre_commit
25+
rev: 1.0.1+pre_commit
2626
hooks:
2727
- id: check-conditional-mark-sort

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Local pre-commit hook config
22
[project]
33
name = "sonic-mgmt-pre-commit-hooks"
4-
version = "1.0.0+pre_commit"
4+
version = "1.0.1+pre_commit"
55
description = "Some hooks for pre-commit in sonic-mgmt repo."
66
classifiers = [
77
"Programming Language :: Python :: 3",

0 commit comments

Comments
 (0)