Skip to content

Commit 198128e

Browse files
[pre-commit.ci] pre-commit autoupdate (#466)
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 52e8612 commit 198128e

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
repos:
22
- repo: https://github.com/pre-commit/pre-commit-hooks
3-
rev: v4.3.0
3+
rev: v4.4.0
44
hooks:
55
- id: end-of-file-fixer
66
- id: check-case-conflict
@@ -48,7 +48,7 @@ repos:
4848
args: [--py38-plus]
4949

5050
- repo: https://github.com/john-hen/Flake8-pyproject
51-
rev: 1.2.0
51+
rev: 1.2.1
5252
hooks:
5353
- id: Flake8-pyproject
5454
alias: flake8

jupyter_releaser/tee.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,11 +103,11 @@ def tee_func(line: bytes, sink: List[str], pipe: Optional[Any]) -> None:
103103
tasks = []
104104
if process.stdout:
105105
tasks.append(
106-
loop.create_task(_read_stream(process.stdout, lambda l: tee_func(l, out, stdout)))
106+
loop.create_task(_read_stream(process.stdout, lambda li: tee_func(li, out, stdout)))
107107
)
108108
if process.stderr:
109109
tasks.append(
110-
loop.create_task(_read_stream(process.stderr, lambda l: tee_func(l, err, stderr)))
110+
loop.create_task(_read_stream(process.stderr, lambda li: tee_func(li, err, stderr)))
111111
)
112112

113113
await asyncio.wait(set(tasks))

0 commit comments

Comments
 (0)