Skip to content

Commit c334ca8

Browse files
Update precommit repos (#531)
1 parent 46f532a commit c334ca8

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

.pre-commit-config.yaml

+4-8
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,14 @@ repos:
1717
- id: check-added-large-files
1818

1919
- repo: https://github.com/psf/black
20-
rev: e026c93888f91a47a9c9f4e029f3eb07d96375e6 # frozen: 24.1.1
20+
rev: 6fdf8a4af28071ed1d079c01122b34c5d587207a # frozen: 24.2.0
2121
hooks:
2222
- id: black
2323

2424
- repo: https://github.com/pre-commit/mirrors-prettier
25-
rev: f12edd9c7be1c20cfa42420fd0e6df71e42b51ea # frozen: v4.0.0-alpha.8
25+
rev: ffb6a759a979008c0e6dff86e39f4745a2d9eac4 # frozen: v3.1.0
2626
hooks:
2727
- id: prettier
28-
entry: env PRETTIER_LEGACY_CLI=1 prettier # temporary fix for https://github.com/prettier/prettier/issues/15742
2928
files: \.(html|md|yml|yaml)
3029
args: [--prose-wrap=preserve]
3130

@@ -35,7 +34,7 @@ repos:
3534
- id: blacken-docs
3635

3736
- repo: https://github.com/asottile/pyupgrade
38-
rev: 1bbebc88c6925a4e56fd5446b830b12c38c1c24a # frozen: v3.15.0
37+
rev: df17dfa3911b81b4a27190b0eea5b1debc7ffa0a # frozen: v3.15.1
3938
hooks:
4039
- id: pyupgrade
4140
args: [--py38-plus]
@@ -49,10 +48,7 @@ repos:
4948
files: "pyproject.toml|requirements/.*\\.txt|tools/generate_requirements.py"
5049

5150
ci:
52-
# This ensures that pr's aren't autofixed by the bot, rather you call
53-
# the bot to make the fix
5451
autofix_prs: false
5552
autofix_commit_msg: |
5653
'[pre-commit.ci 🤖] Apply code format tools to PR'
57-
# Update hook versions every month (so we don't get hit with weekly update pr's)
58-
autoupdate_schedule: monthly
54+
autoupdate_schedule: quarterly

0 commit comments

Comments
 (0)