From ffb7e223b3b9371b99baed13ea17d4a9d6e59fb3 Mon Sep 17 00:00:00 2001 From: Pierre Raybaut Date: Wed, 4 Oct 2023 09:37:05 +0200 Subject: [PATCH] Added some # pragma: no cover --- guidata/configtools.py | 2 +- guidata/qthelpers.py | 2 +- guidata/widgets/objecteditor.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/guidata/configtools.py b/guidata/configtools.py index 29edb7f..457b5b8 100644 --- a/guidata/configtools.py +++ b/guidata/configtools.py @@ -45,7 +45,7 @@ from guidata.utils.misc import decode_fs_string, get_module_path -if TYPE_CHECKING: +if TYPE_CHECKING: # pragma: no cover from qtpy import QtCore as QC from qtpy import QtGui as QG from qtpy import QtWidgets as QW diff --git a/guidata/qthelpers.py b/guidata/qthelpers.py index bbcb2bc..f611205 100644 --- a/guidata/qthelpers.py +++ b/guidata/qthelpers.py @@ -78,7 +78,7 @@ from guidata.external import darkdetect from guidata.utils.misc import to_string -if TYPE_CHECKING: +if TYPE_CHECKING: # pragma: no cover from collections.abc import Callable diff --git a/guidata/widgets/objecteditor.py b/guidata/widgets/objecteditor.py index 6107148..4450a39 100644 --- a/guidata/widgets/objecteditor.py +++ b/guidata/widgets/objecteditor.py @@ -36,7 +36,7 @@ DataFrameEditor = FakeObject() -if TYPE_CHECKING: +if TYPE_CHECKING: # pragma: no cover import numpy as np from qtpy import QtWidgets as QW