Skip to content

Commit c24b252

Browse files
[pre-commit.ci] pre-commit autoupdate (#1145)
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 3e69024 commit c24b252

File tree

4 files changed

+6
-5
lines changed

4 files changed

+6
-5
lines changed

.pre-commit-config.yaml

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

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

2828
- repo: https://github.com/executablebooks/mdformat
29-
rev: 0.7.16
29+
rev: 0.7.17
3030
hooks:
3131
- id: mdformat
3232

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

3838
- repo: https://github.com/astral-sh/ruff-pre-commit
39-
rev: v0.0.281
39+
rev: v0.0.287
4040
hooks:
4141
- id: ruff
4242
args: ["--fix"]

ipykernel/tests/test_io.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -216,6 +216,7 @@ def test_echo_watch(ctx):
216216
],
217217
env=env,
218218
capture_output=True,
219+
check=True,
219220
text=True,
220221
timeout=10,
221222
)

ipykernel/tests/test_kernel.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ def test_smoke_faulthandler():
252252
def test_help_output():
253253
"""ipython kernel --help-all works"""
254254
cmd = [sys.executable, "-m", "IPython", "kernel", "--help-all"]
255-
proc = subprocess.run(cmd, timeout=30, capture_output=True)
255+
proc = subprocess.run(cmd, timeout=30, capture_output=True, check=True)
256256
assert proc.returncode == 0, proc.stderr
257257
assert b"Traceback" not in proc.stderr
258258
assert b"Options" in proc.stdout

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.281"]
120+
dependencies = ["black==23.3.0", "mdformat>0.7", "ruff==0.0.287"]
121121
detached = true
122122
[tool.hatch.envs.lint.scripts]
123123
style = [

0 commit comments

Comments
 (0)