From c686313210e90ba807ff3d1c84b0b051371cb5e9 Mon Sep 17 00:00:00 2001 From: Steven Silvester Date: Tue, 5 Sep 2023 04:52:45 -0500 Subject: [PATCH] sync deps and lint --- ipykernel/tests/test_io.py | 1 + ipykernel/tests/test_kernel.py | 2 +- pyproject.toml | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/ipykernel/tests/test_io.py b/ipykernel/tests/test_io.py index 404657cb..fee1e602 100644 --- a/ipykernel/tests/test_io.py +++ b/ipykernel/tests/test_io.py @@ -216,6 +216,7 @@ def test_echo_watch(ctx): ], env=env, capture_output=True, + check=True, text=True, timeout=10, ) diff --git a/ipykernel/tests/test_kernel.py b/ipykernel/tests/test_kernel.py index 033ee481..49fc1c08 100644 --- a/ipykernel/tests/test_kernel.py +++ b/ipykernel/tests/test_kernel.py @@ -252,7 +252,7 @@ def test_smoke_faulthandler(): def test_help_output(): """ipython kernel --help-all works""" cmd = [sys.executable, "-m", "IPython", "kernel", "--help-all"] - proc = subprocess.run(cmd, timeout=30, capture_output=True) + proc = subprocess.run(cmd, timeout=30, capture_output=True, check=True) assert proc.returncode == 0, proc.stderr assert b"Traceback" not in proc.stderr assert b"Options" in proc.stdout diff --git a/pyproject.toml b/pyproject.toml index 2832ea33..8cb45330 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -117,7 +117,7 @@ dependencies = ["mypy>=0.990"] test = "mypy --install-types --non-interactive {args:.}" [tool.hatch.envs.lint] -dependencies = ["black==23.3.0", "mdformat>0.7", "ruff==0.0.281"] +dependencies = ["black==23.3.0", "mdformat>0.7", "ruff==0.0.287"] detached = true [tool.hatch.envs.lint.scripts] style = [