Skip to content

Commit a640085

Browse files
chore(deps): update pre-commit requirement from <3.9.0,>=3.0.0 to >=3.0.0,<4.1.0 (#809)
1 parent a0115b0 commit a640085

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

.pre-commit-config.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# See https://pre-commit.com for more information
22
# See https://pre-commit.com/hooks.html for more hooks
33
default_install_hook_types: [pre-commit, commit-msg, pre-push]
4-
default_stages: [commit]
5-
minimum_pre_commit_version: 3.0.0
4+
default_stages: [pre-commit]
5+
minimum_pre_commit_version: 4.0.0
66
exclude: ^.vscode/
77

88
repos:
@@ -108,14 +108,14 @@ repos:
108108
- id: check-case-conflict
109109
- id: check-merge-conflict
110110
- id: check-added-large-files
111-
stages: [commit]
111+
stages: [pre-commit]
112112
args: [--maxkb=500]
113113
- id: debug-statements
114114
- id: end-of-file-fixer
115-
stages: [commit]
115+
stages: [pre-commit]
116116
- id: trailing-whitespace
117117
args: [--markdown-linebreak-ext=md]
118-
stages: [commit]
118+
stages: [pre-commit]
119119
- id: detect-private-key
120120
- id: detect-aws-credentials
121121
args: [--allow-missing-credentials]
@@ -169,4 +169,4 @@ repos:
169169
verbose: true
170170
always_run: true
171171
pass_filenames: false
172-
stages: [push]
172+
stages: [pre-push]

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ docs = [
5656
"sphinx-markdown-builder >=0.6.4,<1.0.0",
5757
]
5858
hooks = [
59-
"pre-commit >=3.0.0,<3.9.0",
59+
"pre-commit >=3.0.0,<4.1.0",
6060
]
6161
# Note that the `custom_exit_code` and `env` plugins may currently be unmaintained.
6262
test = [

0 commit comments

Comments
 (0)