Skip to content

Commit bad74eb

Browse files
'[pre-commit.ci 🤖] Apply code format tools to PR'
1 parent b404fe1 commit bad74eb

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

Diff for: .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: 787fb9f542b140ba0b2aced38e6a3e68021647a3 # frozen: v3.5.3
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: 971923581912ef60a6b70dbf0c3e9a39563c9d47 # frozen: v0.11.4
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: "63c8f8312b7559622c0d82815639671ae42132ac" # frozen: v2.4.1
40+
rev: "63c8f8312b7559622c0d82815639671ae42132ac" # frozen: v2.4.1
4141
hooks:
4242
- id: codespell

Diff for: 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)