Skip to content

Commit 12dde6d

Browse files
Update pre-commit (12/2024) (#259)
2 parents 794cabf + 4b85c5d commit 12dde6d

2 files changed

Lines changed: 9 additions & 30 deletions

File tree

.github/workflows/lint.yml

Lines changed: 0 additions & 27 deletions
This file was deleted.

.pre-commit-config.yaml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
# Install pre-commit hooks via
22
# pre-commit install
33

4+
ci:
5+
autofix_prs: false
6+
autofix_commit_msg: |
7+
'[pre-commit.ci 🤖] Apply code format tools to PR'
8+
autoupdate_schedule: quarterly
9+
410
repos:
511
- repo: https://github.com/pre-commit/pre-commit-hooks
612
rev: cef0300fd0fc4d2a87a85fa2093c6b283ea36f4b # frozen: v5.0.0
@@ -19,14 +25,14 @@ repos:
1925
- id: trailing-whitespace
2026

2127
- repo: https://github.com/rbubley/mirrors-prettier
22-
rev: 1463d990e0801964764a375260dca598513f3be5 # frozen: v3.3.3
28+
rev: bc7af46104f0f5368b95878decf720f9f00c2559 # frozen: v3.4.2
2329
hooks:
2430
- id: prettier
2531
files: \.(css|html|md|yml|yaml|toml)
2632
args: [--prose-wrap=preserve]
2733

2834
- repo: https://github.com/astral-sh/ruff-pre-commit
29-
rev: cafecb2f683a620516412e109877570ca7648cbd # frozen: v0.7.4
35+
rev: f0b5944bef86f50d875305821a0ab0d8c601e465 # frozen: v0.8.4
3036
hooks:
3137
- id: ruff
3238
args: ["--fix", "--show-fixes", "--exit-non-zero-on-fix"]
@@ -38,7 +44,7 @@ repos:
3844
- id: blacken-docs
3945

4046
- repo: https://github.com/pre-commit/mirrors-mypy
41-
rev: f56614daa94d5cd733d3b7004c5df9caad267b4a # frozen: v1.13.0
47+
rev: 648203cec3e499b9eff54a24d6cf4b25ce02eb1e # frozen: v1.14.0
4248
hooks:
4349
- id: mypy
4450
exclude: |

0 commit comments

Comments
 (0)