From 0509f3480a20e7c6ff8a4c3eaa65cc288f69b5f3 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Tue, 3 Oct 2023 22:13:12 -0500 Subject: [PATCH] chore: update pre-commit hooks (#140) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * chore: update pre-commit hooks updates: - [github.com/python-jsonschema/check-jsonschema: 0.26.3 → 0.27.0](https://github.com/python-jsonschema/check-jsonschema/compare/0.26.3...0.27.0) - [github.com/pre-commit/mirrors-prettier: v3.0.2 → v3.0.3](https://github.com/pre-commit/mirrors-prettier/compare/v3.0.2...v3.0.3) - [github.com/psf/black-pre-commit-mirror: 23.7.0 → 23.9.1](https://github.com/psf/black-pre-commit-mirror/compare/23.7.0...23.9.1) - [github.com/codespell-project/codespell: v2.2.5 → v2.2.6](https://github.com/codespell-project/codespell/compare/v2.2.5...v2.2.6) - [github.com/astral-sh/ruff-pre-commit: v0.0.287 → v0.0.292](https://github.com/astral-sh/ruff-pre-commit/compare/v0.0.287...v0.0.292) - [github.com/scientific-python/cookie: 2023.08.23 → 2023.09.21](https://github.com/scientific-python/cookie/compare/2023.08.23...2023.09.21) * spelling --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Steven Silvester --- .pre-commit-config.yaml | 12 ++++++------ test_ipykernel.py | 4 ++-- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index fa47c7e..32b1a69 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -21,7 +21,7 @@ repos: - id: trailing-whitespace - repo: https://github.com/python-jsonschema/check-jsonschema - rev: 0.26.3 + rev: 0.27.0 hooks: - id: check-github-workflows @@ -33,7 +33,7 @@ repos: [mdformat-gfm, mdformat-frontmatter, mdformat-footnote] - repo: https://github.com/pre-commit/mirrors-prettier - rev: "v3.0.2" + rev: "v3.0.3" hooks: - id: prettier types_or: [yaml, html, json] @@ -45,12 +45,12 @@ repos: additional_dependencies: [black==23.7.0] - repo: https://github.com/psf/black-pre-commit-mirror - rev: 23.7.0 + rev: 23.9.1 hooks: - id: black - repo: https://github.com/codespell-project/codespell - rev: "v2.2.5" + rev: "v2.2.6" hooks: - id: codespell args: ["-L", "sur,nd"] @@ -63,13 +63,13 @@ repos: - id: rst-inline-touching-normal - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.0.287 + rev: v0.0.292 hooks: - id: ruff args: ["--fix", "--show-fixes"] - repo: https://github.com/scientific-python/cookie - rev: "2023.08.23" + rev: "2023.09.21" hooks: - id: sp-repo-review additional_dependencies: ["repo-review[cli]"] diff --git a/test_ipykernel.py b/test_ipykernel.py index 73de86d..00afd23 100644 --- a/test_ipykernel.py +++ b/test_ipykernel.py @@ -44,7 +44,7 @@ class IPyKernelTests(jkt.KernelTests): ] # samples for testing code-completeness (used by console only) - # these samples should respectively be unambigiously complete statements + # these samples should respectively be unambiguously complete statements # (which should be executed on ), incomplete statements or code # which should be identified as invalid complete_code_samples = ["1", "print('hello, world')", "def f(x):\n return x*2\n\n\n"] @@ -87,7 +87,7 @@ class IPyKernelTests(jkt.KernelTests): ] # test the support for searching/recalling history (used by console only) - # the history tests re-use the code blocks in `code_execute_result` above, + # the history tests reuse the code blocks in `code_execute_result` above, # so will not run if no test code is available # `code_history_pattern` is a glob-style pattern which should match at least # one code sample in `code_execute_result`