Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pre-commit.ci] pre-commit autoupdate #127

Merged
merged 2 commits into from
Jun 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ ci:
repos:
# Autoformat and linting, misc. details
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
rev: v4.6.0
hooks:
- id: forbid-new-submodules
- id: end-of-file-fixer
Expand All @@ -26,18 +26,18 @@ repos:

# Autoformat: Python code
- repo: https://github.com/psf/black
rev: 23.12.1
rev: 24.4.2
hooks:
- id: black

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.1.9
rev: v0.4.7
hooks:
- id: ruff
args: ['--fix']

- repo: https://github.com/pre-commit/mirrors-eslint
rev: v9.0.0-alpha.0
rev: v9.4.0
hooks:
- id: eslint
files: \.tsx?$
Expand Down
6 changes: 3 additions & 3 deletions glue_jupyterlab/glue_ydoc.py
Original file line number Diff line number Diff line change
Expand Up @@ -154,9 +154,9 @@ def observe(self, callback: Callable[[str, Any], None]):
self._subscriptions[self._ytabs] = self._ytabs.observe_deep(
partial(callback, "tabs")
)
self._subscriptions[
self._yprivate_messages
] = self._yprivate_messages.observe_deep(partial(callback, "private_messages"))
self._subscriptions[self._yprivate_messages] = (
self._yprivate_messages.observe_deep(partial(callback, "private_messages"))
)

def get_tab_names(self) -> List[str]:
return list(self._ytabs.keys())
Expand Down
1 change: 1 addition & 0 deletions ui-tests/jupyter_server_test_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
opens the server to the world and provide access to JupyterLab
JavaScript objects through the global window variable.
"""

from jupyterlab.galata import configure_jupyter_server

configure_jupyter_server(c) # noqa
Expand Down
Loading