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`