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