Skip to content

Commit d1288ef

Browse files
authored
Merge pull request #852 from sanders41/pre-commit
Update pre-commit v4.2.0 -> v4.3.0 and pre-commit hook v5.0.0 -> v6.0.0
2 parents b2beb9f + 98992bf commit d1288ef

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ ci:
33

44
repos:
55
- repo: https://github.com/pre-commit/pre-commit-hooks
6-
rev: v5.0.0
6+
rev: v6.0.0
77
hooks:
88
- id: check-added-large-files
99
- id: check-toml

src/package_version.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ pub fn default_version(package: &PythonPackage) -> String {
171171
PythonPackage::MkdocsMaterial => "9.6.16".to_string(),
172172
PythonPackage::Mkdocstrings => "0.30.0".to_string(),
173173
PythonPackage::MyPy => "1.17.1".to_string(),
174-
PythonPackage::PreCommit => "4.2.0".to_string(),
174+
PythonPackage::PreCommit => "4.3.0".to_string(),
175175
PythonPackage::Pytest => "8.4.1".to_string(),
176176
PythonPackage::PytestAsyncio => "1.0.0".to_string(),
177177
PythonPackage::PytestCov => "6.2.1".to_string(),
@@ -183,7 +183,7 @@ pub fn default_version(package: &PythonPackage) -> String {
183183
pub fn default_pre_commit_rev(hook: &PreCommitHook) -> String {
184184
match hook {
185185
PreCommitHook::MyPy => "v1.17.1".to_string(),
186-
PreCommitHook::PreCommit => "v5.0.0".to_string(),
186+
PreCommitHook::PreCommit => "v6.0.0".to_string(),
187187
PreCommitHook::Ruff => "v0.12.8".to_string(),
188188
}
189189
}

0 commit comments

Comments
 (0)