Skip to content

Commit 5627c28

Browse files
Merge pull request #138 from jarrodmillman/pre-commit-12-24
Update pre-commit (12/2024)
2 parents 245767a + 394af12 commit 5627c28

File tree

3 files changed

+11
-32
lines changed

3 files changed

+11
-32
lines changed

.github/workflows/lint.yml

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

.pre-commit-config.yaml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,15 @@
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
6-
rev: 2c9f875913ee60ca25ce70243dc24d5b6415598c # frozen: v4.6.0
12+
rev: cef0300fd0fc4d2a87a85fa2093c6b283ea36f4b # frozen: v5.0.0
713
hooks:
814
- id: trailing-whitespace
915
- id: end-of-file-fixer
@@ -16,15 +22,15 @@ repos:
1622
- id: check-toml
1723
- id: check-added-large-files
1824

19-
- repo: https://github.com/pre-commit/mirrors-prettier
20-
rev: ffb6a759a979008c0e6dff86e39f4745a2d9eac4 # frozen: v3.1.0
25+
- repo: https://github.com/rbubley/mirrors-prettier
26+
rev: bc7af46104f0f5368b95878decf720f9f00c2559 # frozen: v3.4.2
2127
hooks:
2228
- id: prettier
2329
files: \.(html|md|yml|yaml|toml)
2430
args: [--prose-wrap=preserve]
2531

2632
- repo: https://github.com/astral-sh/ruff-pre-commit
27-
rev: 1dc9eb131c2ea4816c708e4d85820d2cc8542683 # frozen: v0.5.0
33+
rev: f0b5944bef86f50d875305821a0ab0d8c601e465 # frozen: v0.8.4
2834
hooks:
2935
- id: ruff
3036
args: ["--fix", "--show-fixes", "--exit-non-zero-on-fix"]

lazy_loader/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
import warnings
1616

1717
__version__ = "0.5rc0.dev0"
18-
__all__ = ["attach", "load", "attach_stub"]
18+
__all__ = ["attach", "attach_stub", "load"]
1919

2020

2121
threadlock = threading.Lock()

0 commit comments

Comments
 (0)