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

Lines changed: 2 additions & 2 deletions
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy