Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit bad74eb

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

File tree

Expand file treeCollapse file tree

2 files changed

+5
-5
lines changed
Filter options
Expand file treeCollapse file tree

2 files changed

+5
-5
lines changed

‎.pre-commit-config.yaml

Copy file name to clipboardExpand all lines: .pre-commit-config.yaml
+3-3Lines changed: 3 additions & 3 deletions
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

‎lazy_loader/__init__.py

Copy file name to clipboardExpand all lines: lazy_loader/__init__.py
+2-2Lines changed: 2 additions & 2 deletions
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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.