Skip to content

Commit 1ece796

Browse files
chore: update pre-commit hooks (#1334)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Steven Silvester <[email protected]>
1 parent 3544deb commit 1ece796

File tree

4 files changed

+12
-12
lines changed

4 files changed

+12
-12
lines changed

.pre-commit-config.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ repos:
2121
- id: trailing-whitespace
2222

2323
- repo: https://github.com/python-jsonschema/check-jsonschema
24-
rev: 0.26.3
24+
rev: 0.27.0
2525
hooks:
2626
- id: check-github-workflows
2727

@@ -33,7 +33,7 @@ repos:
3333
[mdformat-gfm, mdformat-frontmatter, mdformat-footnote]
3434

3535
- repo: https://github.com/pre-commit/mirrors-prettier
36-
rev: "v3.0.2"
36+
rev: "v3.0.3"
3737
hooks:
3838
- id: prettier
3939
types_or: [yaml, html, json]
@@ -45,12 +45,12 @@ repos:
4545
additional_dependencies: [black==23.7.0]
4646

4747
- repo: https://github.com/psf/black-pre-commit-mirror
48-
rev: 23.7.0
48+
rev: 23.9.1
4949
hooks:
5050
- id: black
5151

5252
- repo: https://github.com/codespell-project/codespell
53-
rev: "v2.2.5"
53+
rev: "v2.2.6"
5454
hooks:
5555
- id: codespell
5656
args: ["-L", "sur,nd"]
@@ -63,13 +63,13 @@ repos:
6363
- id: rst-inline-touching-normal
6464

6565
- repo: https://github.com/astral-sh/ruff-pre-commit
66-
rev: v0.0.287
66+
rev: v0.0.292
6767
hooks:
6868
- id: ruff
6969
args: ["--fix", "--show-fixes"]
7070

7171
- repo: https://github.com/scientific-python/cookie
72-
rev: "2023.08.23"
72+
rev: "2023.09.21"
7373
hooks:
7474
- id: sp-repo-review
7575
additional_dependencies: ["repo-review[cli]"]

CHANGELOG.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -767,7 +767,7 @@ All notable changes to this project will be documented in this file.
767767
- switch to jupyter_events [#862](https://github.com/jupyter-server/jupyter_server/pull/862) ([@Zsailer](https://github.com/Zsailer))
768768
- Make it easier for extensions to customize the ServerApp [#879](https://github.com/jupyter-server/jupyter_server/pull/879) ([@minrk](https://github.com/minrk))
769769
- consolidate auth config on IdentityProvider [#825](https://github.com/jupyter-server/jupyter_server/pull/825) ([@minrk](https://github.com/minrk))
770-
- Show import error when faiing to load an extension [#878](https://github.com/jupyter-server/jupyter_server/pull/878) ([@minrk](https://github.com/minrk))
770+
- Show import error when failing to load an extension [#878](https://github.com/jupyter-server/jupyter_server/pull/878) ([@minrk](https://github.com/minrk))
771771
- Add the root_dir value to the logging message in case of non compliant preferred_dir [#804](https://github.com/jupyter-server/jupyter_server/pull/804) ([@echarles](https://github.com/echarles))
772772
- Hydrate a Kernel Manager when calling GatewayKernelManager.start_kernel with a kernel_id [#788](https://github.com/jupyter-server/jupyter_server/pull/788) ([@Zsailer](https://github.com/Zsailer))
773773
- Remove terminals in favor of jupyter_server_terminals extension [#651](https://github.com/jupyter-server/jupyter_server/pull/651) ([@Zsailer](https://github.com/Zsailer))
@@ -926,7 +926,7 @@ All notable changes to this project will be documented in this file.
926926

927927
### Enhancements made
928928

929-
- Show import error when faiing to load an extension [#878](https://github.com/jupyter-server/jupyter_server/pull/878) ([@minrk](https://github.com/minrk))
929+
- Show import error when failing to load an extension [#878](https://github.com/jupyter-server/jupyter_server/pull/878) ([@minrk](https://github.com/minrk))
930930

931931
### Bugs fixed
932932

@@ -1165,7 +1165,7 @@ All notable changes to this project will be documented in this file.
11651165

11661166
### Bugs fixed
11671167

1168-
- Revert "Re-use ServerApp.config_file_paths for consistency (#715)" [#728](https://github.com/jupyter-server/jupyter_server/pull/728) ([@blink1073](https://github.com/blink1073))
1168+
- Revert "Reuse ServerApp.config_file_paths for consistency (#715)" [#728](https://github.com/jupyter-server/jupyter_server/pull/728) ([@blink1073](https://github.com/blink1073))
11691169

11701170
### Contributors to this release
11711171

@@ -1190,7 +1190,7 @@ All notable changes to this project will be documented in this file.
11901190

11911191
- Implement Required Methods in Async Manner [#721](https://github.com/jupyter-server/jupyter_server/pull/721) ([@jhamet93](https://github.com/jhamet93))
11921192
- Call pre_save_hook only on first chunk of large files [#716](https://github.com/jupyter-server/jupyter_server/pull/716) ([@davidbrochart](https://github.com/davidbrochart))
1193-
- Re-use ServerApp.config_file_paths for consistency [#715](https://github.com/jupyter-server/jupyter_server/pull/715) ([@minrk](https://github.com/minrk))
1193+
- Reuse ServerApp.config_file_paths for consistency [#715](https://github.com/jupyter-server/jupyter_server/pull/715) ([@minrk](https://github.com/minrk))
11941194
- serverapp: Use .absolute() instead of .resolve() for symlinks [#712](https://github.com/jupyter-server/jupyter_server/pull/712) ([@EricCousineau-TRI](https://github.com/EricCousineau-TRI))
11951195
- Fall back to legacy protocol if selected_subprotocol raises exception [#706](https://github.com/jupyter-server/jupyter_server/pull/706) ([@davidbrochart](https://github.com/davidbrochart))
11961196
- Fix FilesHandler not meet RFC 6713 [#701](https://github.com/jupyter-server/jupyter_server/pull/701) ([@Wh1isper](https://github.com/Wh1isper))

docs/source/developers/contents.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ ContentsManager.
269269
PGContents_ is an example of a complete implementation of a custom
270270
``ContentsManager``. It stores notebooks and files in PostgreSQL_ and encodes
271271
directories as SQL relations. PGContents also provides an example of how to
272-
re-use the notebook's tests.
272+
reuse the notebook's tests.
273273

274274
.. _NBFormat: https://nbformat.readthedocs.io/en/latest/index.html
275275
.. _PGContents: https://github.com/quantopian/pgcontents

jupyter_server/base/handlers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1118,7 +1118,7 @@ def get(self):
11181118

11191119

11201120
# -----------------------------------------------------------------------------
1121-
# URL pattern fragments for re-use
1121+
# URL pattern fragments for reuse
11221122
# -----------------------------------------------------------------------------
11231123

11241124
# path matches any number of `/foo[/bar...]` or just `/` or ''

0 commit comments

Comments
 (0)