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 30719df

Browse filesBrowse files
Add codespell pre-commit (#125)
1 parent 9fb51e9 commit 30719df
Copy full SHA for 30719df

File tree

Expand file treeCollapse file tree

3 files changed

+7
-2
lines changed
Filter options
Expand file treeCollapse file tree

3 files changed

+7
-2
lines changed

‎.pre-commit-config.yaml

Copy file name to clipboardExpand all lines: .pre-commit-config.yaml
+5Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,3 +29,8 @@ repos:
2929
- id: ruff
3030
args: ["--fix", "--show-fixes", "--exit-non-zero-on-fix"]
3131
- id: ruff-format
32+
33+
- repo: https://github.com/codespell-project/codespell
34+
rev: "193cd7d27cd571f79358af09a8fb8997e54f8fff" # frozen: v2.3.0
35+
hooks:
36+
- id: codespell

‎CHANGELOG.md

Copy file name to clipboardExpand all lines: CHANGELOG.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ see release notes for v0.2rc0 below for details.
112112
- Update year [\#43](https://github.com/scientific-python/lazy-loader/pull/43) ([jarrodmillman](https://github.com/jarrodmillman))
113113
- Update GH actions [\#42](https://github.com/scientific-python/lazy-loader/pull/42) ([jarrodmillman](https://github.com/jarrodmillman))
114114
- Update pre-commit [\#41](https://github.com/scientific-python/lazy-loader/pull/41) ([jarrodmillman](https://github.com/jarrodmillman))
115-
- Update optional depedencies [\#40](https://github.com/scientific-python/lazy-loader/pull/40) ([jarrodmillman](https://github.com/jarrodmillman))
115+
- Update optional dependencies [\#40](https://github.com/scientific-python/lazy-loader/pull/40) ([jarrodmillman](https://github.com/jarrodmillman))
116116
- Fix extension substitution to work with `\*.pyc` files [\#39](https://github.com/scientific-python/lazy-loader/pull/39) ([Czaki](https://github.com/Czaki))
117117
- Sort returned \_\_all\_\_ [\#34](https://github.com/scientific-python/lazy-loader/pull/34) ([stefanv](https://github.com/stefanv))
118118

‎lazy_loader/__init__.py

Copy file name to clipboardExpand all lines: lazy_loader/__init__.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ def __getattr__(self, x):
112112
fd = self.__frame_data
113113
raise ModuleNotFoundError(
114114
f"{self.__message}\n\n"
115-
"This error is lazily reported, having originally occured in\n"
115+
"This error is lazily reported, having originally occurred in\n"
116116
f' File {fd["filename"]}, line {fd["lineno"]}, in {fd["function"]}\n\n'
117117
f'----> {"".join(fd["code_context"] or "").strip()}'
118118
)

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.