Skip to content

Commit d48843e

Browse files
[pre-commit.ci] pre-commit autoupdate (#1286)
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 9106e05 commit d48843e

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ repos:
2020
- id: trailing-whitespace
2121

2222
- repo: https://github.com/python-jsonschema/check-jsonschema
23-
rev: 0.22.0
23+
rev: 0.23.1
2424
hooks:
2525
- id: check-github-workflows
2626

@@ -35,7 +35,7 @@ repos:
3535
- id: black
3636

3737
- repo: https://github.com/charliermarsh/ruff-pre-commit
38-
rev: v0.0.263
38+
rev: v0.0.270
3939
hooks:
4040
- id: ruff
4141
args: ["--fix"]

jupyter_server/services/kernels/connection/base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ def serialize_msg_to_ws_v1(msg_or_list, channel, pack=None):
9494
offsets.append(len(msg) + offsets[-1])
9595
offset_number = len(offsets).to_bytes(8, byteorder="little")
9696
offsets = [offset.to_bytes(8, byteorder="little") for offset in offsets]
97-
bin_msg = b"".join([offset_number, *offsets] + [channel] + msg_list)
97+
bin_msg = b"".join([offset_number, *offsets, channel, *msg_list])
9898
return bin_msg
9999

100100

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ detached = true
120120
dependencies = [
121121
"black[jupyter]==23.3.0",
122122
"mdformat>0.7",
123-
"ruff==0.0.263",
123+
"ruff==0.0.270",
124124
]
125125
[tool.hatch.envs.lint.scripts]
126126
style = [

0 commit comments

Comments
 (0)