Skip to content

Commit d89ae58

Browse files
committed
suppress warning
1 parent 7e973ab commit d89ae58

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

docs/conf.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@
1717

1818
from intersphinx_registry import get_intersphinx_mapping
1919

20+
import warnings
21+
warnings.filterwarnings("ignore", message="Cannot resolve forward reference.*InteractiveShell")
22+
2023
# If extensions (or modules to document with autodoc) are in another directory,
2124
# add these directories to sys.path here. If the directory is relative to the
2225
# documentation root, use os.path.abspath to make it absolute, like shown here.
@@ -291,8 +294,6 @@
291294
),
292295
]
293296

294-
suppress_warnings = ["autodoc.resolve_forward_ref"]
295-
296297
# Documents to append as an appendix to all manuals.
297298
# texinfo_appendices = []
298299

0 commit comments

Comments
 (0)