From 01edb435120fa8c866ec2ca0ad1368baa982c13e Mon Sep 17 00:00:00 2001 From: Thomas Robitaille Date: Tue, 15 Aug 2023 14:34:25 +0100 Subject: [PATCH] Fixed code style warnings --- glue/backends.py | 2 +- glue/core/data_factories/tests/test_data_factories.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/glue/backends.py b/glue/backends.py index cc2d39b46..50771e1f1 100644 --- a/glue/backends.py +++ b/glue/backends.py @@ -52,7 +52,7 @@ def stop(self): def get_timer(): try: - from qtpy import QtCore + from qtpy import QtCore # noqa except ImportError: return SimpleTimer else: diff --git a/glue/core/data_factories/tests/test_data_factories.py b/glue/core/data_factories/tests/test_data_factories.py index 9c1ddf603..9d5ddbd7e 100644 --- a/glue/core/data_factories/tests/test_data_factories.py +++ b/glue/core/data_factories/tests/test_data_factories.py @@ -8,7 +8,7 @@ from glue.core.data import BaseCartesianData, Data from glue.core import data_factories as df from glue.config import data_factory -from glue.tests.helpers import requires_astropy, make_file, requires_qt +from glue.tests.helpers import requires_astropy, make_file def test_load_data_auto_assigns_label():