diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 801b7973f..0fce3c940 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.27.1 + rev: 0.27.2 hooks: - id: check-github-workflows @@ -51,7 +51,7 @@ repos: args: ["-L", "sur,nd"] - repo: https://github.com/pre-commit/mirrors-mypy - rev: "v1.6.1" + rev: "v1.7.1" hooks: - id: mypy files: "^nbconvert" @@ -81,7 +81,7 @@ repos: - id: rst-inline-touching-normal - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.1.4 + rev: v0.1.6 hooks: - id: ruff types_or: [python, jupyter] @@ -90,7 +90,7 @@ repos: types_or: [python, jupyter] - repo: https://github.com/scientific-python/cookie - rev: "2023.10.27" + rev: "2023.11.17" hooks: - id: sp-repo-review additional_dependencies: ["repo-review[cli]"] diff --git a/CHANGELOG.md b/CHANGELOG.md index 37f41caca..1b535e482 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1396,6 +1396,7 @@ raw template {%- endblock in_prompt -%} """ + exporter_attr = AttrExporter() output_attr, _ = exporter_attr.from_notebook_node(nb) assert "raw template" in output_attr diff --git a/pyproject.toml b/pyproject.toml index 00070f41e..80f7561dd 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -179,7 +179,6 @@ source = ["nbconvert"] files = "nbconvert" python_version = "3.8" strict = true -show_error_codes = true enable_error_code = ["ignore-without-code", "redundant-expr", "truthy-bool"] disable_error_code = ["no-untyped-def", "no-untyped-call"] warn_unreachable = true @@ -250,7 +249,7 @@ fail-under=100 exclude = ["tests", "docs"] [tool.repo-review] -ignore = ["PY007", "GH102"] +ignore = ["GH102"] [tool.codespell]