From 722396143420297d2a22ff3b0d6f20b245f9581f Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 12 Feb 2024 23:57:29 +0000 Subject: [PATCH 1/2] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/psf/black: 23.10.1 → 24.2.0](https://github.com/psf/black/compare/23.10.1...24.2.0) - [github.com/kynan/nbstripout: 0.6.1 → 0.7.1](https://github.com/kynan/nbstripout/compare/0.6.1...0.7.1) --- .pre-commit-config.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index a77ddcc3..11ede0db 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -6,11 +6,11 @@ repos: - id: end-of-file-fixer - id: trailing-whitespace - repo: https://github.com/psf/black - rev: 23.10.1 + rev: 24.2.0 hooks: - id: black - repo: https://github.com/kynan/nbstripout - rev: 0.6.1 + rev: 0.7.1 hooks: - id: nbstripout files: ".ipynb" From 4299a14f53affa66d7df92d02081795d787ecf89 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 12 Feb 2024 23:57:41 +0000 Subject: [PATCH 2/2] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- nams/builder_lib.py | 1 + 1 file changed, 1 insertion(+) diff --git a/nams/builder_lib.py b/nams/builder_lib.py index ff6f9b9f..f2ec319c 100644 --- a/nams/builder_lib.py +++ b/nams/builder_lib.py @@ -4,6 +4,7 @@ This module exists because I saw common usable functions across both the LeanPub and MkDocs build steps. """ + import nbformat from nbconvert import MarkdownExporter, PDFExporter from nbconvert.preprocessors import ExecutePreprocessor