From 1af5ae58bafbd70b838a3904c9fb7452d63ea1ff Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Wed, 3 Apr 2024 18:46:55 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- papermill/exceptions.py | 1 + papermill/tests/test_execute.py | 1 + 2 files changed, 2 insertions(+) diff --git a/papermill/exceptions.py b/papermill/exceptions.py index b61eeb8b..8cb96bcf 100644 --- a/papermill/exceptions.py +++ b/papermill/exceptions.py @@ -79,6 +79,7 @@ def missing_dep(): return missing_dep + # copied from https://github.com/jonathaneunice/ansiwrap/blob/master/ansiwrap/core.py # papermill used to use strip_color from ansiwrap package, but removed due to dependency # resolution issues (ref: https://github.com/nteract/papermill/pull/681) diff --git a/papermill/tests/test_execute.py b/papermill/tests/test_execute.py index 45b12454..f41232c2 100644 --- a/papermill/tests/test_execute.py +++ b/papermill/tests/test_execute.py @@ -430,6 +430,7 @@ def test_notebook_node_input(self): test_nb = nbformat.read(self.result_path, as_version=4) self.assertEqual(test_nb.metadata.papermill.parameters, {'msg': 'Hello'}) + class TestOutputFormatting(unittest.TestCase): def setUp(self): self.test_dir = tempfile.mkdtemp()