Skip to content

Commit bc154c9

Browse files
committed
👷 Add codespell
* Fix typo
1 parent ec7eb7f commit bc154c9

File tree

4 files changed

+11
-3
lines changed

4 files changed

+11
-3
lines changed

.pre-commit-config.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,10 @@ repos:
4040
args: [--line-length=79]
4141
additional_dependencies:
4242
- black
43+
- repo: https://github.com/codespell-project/codespell
44+
rev: v2.3.0
45+
hooks:
46+
- id: codespell
4347
- repo: local
4448
hooks:
4549
- id: linkcheck

docs/genindex.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
.. Workarround for displaying the index in the toc
1+
.. Workaround for displaying the index in the toc
22
33
Index
44
=====

docs/hub/jupyterhub_config.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1097,7 +1097,7 @@
10971097
## The URL the single-user server should connect to the Hub.
10981098
#
10991099
# If the Hub URL set in your JupyterHub config is not reachable from spawned
1100-
# notebooks, you can set differnt URL by this config.
1100+
# notebooks, you can set different URL by this config.
11011101
#
11021102
# Is None if you don't need to change the URL.
11031103
# Default: None
@@ -1474,7 +1474,7 @@
14741474
#
14751475
# This function is called after the user has passed all authentication checks
14761476
# and is ready to successfully authenticate. This function must return the
1477-
# authentication dict reguardless of changes to it.
1477+
# authentication dict regardless of changes to it.
14781478
#
14791479
# This maybe a coroutine.
14801480
#

pyproject.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ docs = [
3131
dev = [
3232
"jupyter-tutorial[docs]",
3333
"pre-commit",
34+
"codespell",
3435
"vale",
3536
]
3637

@@ -56,3 +57,6 @@ use_parentheses=true
5657

5758
known_first_party="jupyter-tutorial-de"
5859
known_third_party=["Cython", "accounts_pb2", "accounts_pb2_grpc", "dataprep", "google", "grpc", "mpi4py", "numpy", "pandas", "pydantic", "pytest", "requests", "setuptools"]
60+
61+
[tool.codespell]
62+
skip = "*.html, *.ipynb"

0 commit comments

Comments
 (0)