Skip to content

Commit dca1097

Browse files
[pre-commit.ci] pre-commit autoupdate (#127)
* [pre-commit.ci] pre-commit autoupdate updates: - [github.com/pre-commit/pre-commit-hooks: v4.5.0 → v4.6.0](pre-commit/pre-commit-hooks@v4.5.0...v4.6.0) - [github.com/psf/black: 23.12.1 → 24.4.2](psf/black@23.12.1...24.4.2) - [github.com/astral-sh/ruff-pre-commit: v0.1.9 → v0.4.7](astral-sh/ruff-pre-commit@v0.1.9...v0.4.7) - [github.com/pre-commit/mirrors-eslint: v9.0.0-alpha.0 → v9.4.0](pre-commit/mirrors-eslint@v9.0.0-alpha.0...v9.4.0) * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent ef22c59 commit dca1097

File tree

3 files changed

+8
-7
lines changed

3 files changed

+8
-7
lines changed

.pre-commit-config.yaml

+4-4
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ ci:
77
repos:
88
# Autoformat and linting, misc. details
99
- repo: https://github.com/pre-commit/pre-commit-hooks
10-
rev: v4.5.0
10+
rev: v4.6.0
1111
hooks:
1212
- id: forbid-new-submodules
1313
- id: end-of-file-fixer
@@ -26,18 +26,18 @@ repos:
2626

2727
# Autoformat: Python code
2828
- repo: https://github.com/psf/black
29-
rev: 23.12.1
29+
rev: 24.4.2
3030
hooks:
3131
- id: black
3232

3333
- repo: https://github.com/astral-sh/ruff-pre-commit
34-
rev: v0.1.9
34+
rev: v0.4.7
3535
hooks:
3636
- id: ruff
3737
args: ['--fix']
3838

3939
- repo: https://github.com/pre-commit/mirrors-eslint
40-
rev: v9.0.0-alpha.0
40+
rev: v9.4.0
4141
hooks:
4242
- id: eslint
4343
files: \.tsx?$

glue_jupyterlab/glue_ydoc.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -154,9 +154,9 @@ def observe(self, callback: Callable[[str, Any], None]):
154154
self._subscriptions[self._ytabs] = self._ytabs.observe_deep(
155155
partial(callback, "tabs")
156156
)
157-
self._subscriptions[
158-
self._yprivate_messages
159-
] = self._yprivate_messages.observe_deep(partial(callback, "private_messages"))
157+
self._subscriptions[self._yprivate_messages] = (
158+
self._yprivate_messages.observe_deep(partial(callback, "private_messages"))
159+
)
160160

161161
def get_tab_names(self) -> List[str]:
162162
return list(self._ytabs.keys())

ui-tests/jupyter_server_test_config.py

+1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
opens the server to the world and provide access to JupyterLab
55
JavaScript objects through the global window variable.
66
"""
7+
78
from jupyterlab.galata import configure_jupyter_server
89

910
configure_jupyter_server(c) # noqa

0 commit comments

Comments
 (0)