From 280c652f5a20ce4f183c9dc3b35cf2cfee002538 Mon Sep 17 00:00:00 2001 From: Sangjoon Bob Lee Date: Mon, 9 Dec 2024 18:12:26 -0500 Subject: [PATCH 1/2] Add tikinter and matplotlib to autodoc_mock_imports --- doc/source/conf.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/doc/source/conf.py b/doc/source/conf.py index 9283032..9737f2b 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -48,6 +48,8 @@ autodoc_mock_imports = [ "h5py", + "tkinter", + "matplotlib" ] # Add any paths that contain templates here, relative to this directory. From 8ee983679f643047f7e10ef8ddbebacb7c0e58d5 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 9 Dec 2024 23:14:07 +0000 Subject: [PATCH 2/2] [pre-commit.ci] auto fixes from pre-commit hooks --- doc/source/conf.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/doc/source/conf.py b/doc/source/conf.py index 9737f2b..41f1e13 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -46,11 +46,7 @@ "m2r", ] -autodoc_mock_imports = [ - "h5py", - "tkinter", - "matplotlib" -] +autodoc_mock_imports = ["h5py", "tkinter", "matplotlib"] # Add any paths that contain templates here, relative to this directory. templates_path = ["_templates"]