Skip to content

Commit

Permalink
[pre-commit.ci] pre-commit autoupdate (#127)
Browse files Browse the repository at this point in the history
* [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>
  • Loading branch information
pre-commit-ci[bot] authored Jun 4, 2024
1 parent ef22c59 commit dca1097
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
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

0 comments on commit dca1097

Please sign in to comment.