Skip to content

Commit

Permalink
[pre-commit.ci] pre-commit autoupdate (#1145)
Browse files Browse the repository at this point in the history
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Steven Silvester <[email protected]>
  • Loading branch information
pre-commit-ci[bot] and blink1073 authored Sep 5, 2023
1 parent 3e69024 commit c24b252
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@ repos:
- id: trailing-whitespace

- repo: https://github.com/python-jsonschema/check-jsonschema
rev: 0.23.3
rev: 0.26.3
hooks:
- id: check-github-workflows

- repo: https://github.com/executablebooks/mdformat
rev: 0.7.16
rev: 0.7.17
hooks:
- id: mdformat

Expand All @@ -36,7 +36,7 @@ repos:
- id: black

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.0.281
rev: v0.0.287
hooks:
- id: ruff
args: ["--fix"]
1 change: 1 addition & 0 deletions ipykernel/tests/test_io.py
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,7 @@ def test_echo_watch(ctx):
],
env=env,
capture_output=True,
check=True,
text=True,
timeout=10,
)
Expand Down
2 changes: 1 addition & 1 deletion ipykernel/tests/test_kernel.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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 = [
Expand Down

0 comments on commit c24b252

Please sign in to comment.