Skip to content

Commit 312d50c

Browse files
committed
Add some type ignores
1 parent 797e460 commit 312d50c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/conf.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
]
3737

3838

39-
def reset_napari(gallery_conf, fname):
39+
def reset_napari(gallery_conf, fname): # type: ignore[no-untyped-def]
4040
from napari.settings import get_settings
4141
from qtpy.QtWidgets import QApplication
4242

@@ -49,7 +49,7 @@ def reset_napari(gallery_conf, fname):
4949
QApplication.exec_ = lambda _: None
5050

5151

52-
def napari_scraper(block, block_vars, gallery_conf):
52+
def napari_scraper(block, block_vars, gallery_conf): # type: ignore[no-untyped-def]
5353
"""Basic napari window scraper.
5454
5555
Looks for any QtMainWindow instances and takes a screenshot of them.

0 commit comments

Comments
 (0)