From bade279883181777b3f4ff8b2fca376e3eb30440 Mon Sep 17 00:00:00 2001 From: Kasia Kucharczyk <2536609+kkucharc@users.noreply.github.com> Date: Wed, 23 Sep 2020 19:46:44 +0200 Subject: [PATCH] fix: reenable pylint rule `unused-import` in charts and connectors modules (#11014) * Removed disabled pylint rule `unused_import` from `dao.py` in `charts` module * Removed disabled pylint rule `unused_import` from `connector_registry.py` in `connectors` module --- superset/charts/dao.py | 1 - superset/connectors/connector_registry.py | 1 - 2 files changed, 2 deletions(-) diff --git a/superset/charts/dao.py b/superset/charts/dao.py index a74f20ee2e410..cb59868bf58fa 100644 --- a/superset/charts/dao.py +++ b/superset/charts/dao.py @@ -25,7 +25,6 @@ from superset.models.slice import Slice if TYPE_CHECKING: - # pylint: disable=unused-import from superset.connectors.base.models import BaseDatasource logger = logging.getLogger(__name__) diff --git a/superset/connectors/connector_registry.py b/superset/connectors/connector_registry.py index fff2f8e8f83ea..fa9a54bda76f3 100644 --- a/superset/connectors/connector_registry.py +++ b/superset/connectors/connector_registry.py @@ -20,7 +20,6 @@ from sqlalchemy.orm import Session, subqueryload if TYPE_CHECKING: - # pylint: disable=unused-import from collections import OrderedDict from superset.connectors.base.models import BaseDatasource