Skip to content

Commit 3455c29

Browse files
[pre-commit.ci] pre-commit autoupdate (ipython#1120)
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 f7e5a8f commit 3455c29

File tree

3 files changed

+5
-6
lines changed

3 files changed

+5
-6
lines changed

.pre-commit-config.yaml

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

2323
- repo: https://github.com/python-jsonschema/check-jsonschema
24-
rev: 0.22.0
24+
rev: 0.23.1
2525
hooks:
2626
- id: check-github-workflows
2727

@@ -36,7 +36,7 @@ repos:
3636
- id: black
3737

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

ipykernel/eventloops.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -419,10 +419,9 @@ def loop_asyncio_exit(kernel):
419419

420420
loop = asyncio.get_event_loop()
421421

422-
@asyncio.coroutine
423-
def close_loop():
422+
async def close_loop():
424423
if hasattr(loop, "shutdown_asyncgens"):
425-
yield from loop.shutdown_asyncgens()
424+
yield loop.shutdown_asyncgens()
426425
loop._should_close = True # type:ignore[attr-defined]
427426
loop.stop()
428427

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ dependencies = ["mypy>=0.990"]
117117
test = "mypy --install-types --non-interactive {args:.}"
118118

119119
[tool.hatch.envs.lint]
120-
dependencies = ["black==23.3.0", "mdformat>0.7", "ruff==0.0.263"]
120+
dependencies = ["black==23.3.0", "mdformat>0.7", "ruff==0.0.270"]
121121
detached = true
122122
[tool.hatch.envs.lint.scripts]
123123
style = [

0 commit comments

Comments
 (0)