Skip to content

Commit 024e49f

Browse files
authored
Merge pull request #150 from scientific-python/pre-commit-ci-update-config
[pre-commit.ci] pre-commit autoupdate
2 parents 5c79ca5 + bad74eb commit 024e49f

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.pre-commit-config.yaml

+3-3
Original file line numberDiff line numberDiff line change
@@ -23,20 +23,20 @@ repos:
2323
- id: check-added-large-files
2424

2525
- repo: https://github.com/rbubley/mirrors-prettier
26-
rev: bc7af46104f0f5368b95878decf720f9f00c2559 # frozen: v3.4.2
26+
rev: 787fb9f542b140ba0b2aced38e6a3e68021647a3 # frozen: v3.5.3
2727
hooks:
2828
- id: prettier
2929
files: \.(html|md|yml|yaml|toml)
3030
args: [--prose-wrap=preserve]
3131

3232
- repo: https://github.com/astral-sh/ruff-pre-commit
33-
rev: 89c421dff2e1026ba12cdb9ebd731f4a83aa8021 # frozen: v0.8.6
33+
rev: 971923581912ef60a6b70dbf0c3e9a39563c9d47 # frozen: v0.11.4
3434
hooks:
3535
- id: ruff
3636
args: ["--fix", "--show-fixes", "--exit-non-zero-on-fix"]
3737
- id: ruff-format
3838

3939
- repo: https://github.com/codespell-project/codespell
40-
rev: "193cd7d27cd571f79358af09a8fb8997e54f8fff" # frozen: v2.3.0
40+
rev: "63c8f8312b7559622c0d82815639671ae42132ac" # frozen: v2.4.1
4141
hooks:
4242
- id: codespell

lazy_loader/__init__.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -113,8 +113,8 @@ def __getattr__(self, x):
113113
raise ModuleNotFoundError(
114114
f"{self.__message}\n\n"
115115
"This error is lazily reported, having originally occurred in\n"
116-
f' File {fd["filename"]}, line {fd["lineno"]}, in {fd["function"]}\n\n'
117-
f'----> {"".join(fd["code_context"] or "").strip()}'
116+
f" File {fd['filename']}, line {fd['lineno']}, in {fd['function']}\n\n"
117+
f"----> {''.join(fd['code_context'] or '').strip()}"
118118
)
119119

120120

0 commit comments

Comments
 (0)