Skip to content

Commit

Permalink
fix: reenable pylint rule unused-import in charts and connectors mo…
Browse files Browse the repository at this point in the history
…dules (#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
  • Loading branch information
kkucharc authored Sep 23, 2020
1 parent 26fcc08 commit bade279
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion superset/charts/dao.py
Original file line number Diff line number Diff line change
Expand Up @@ -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__)
Expand Down
1 change: 0 additions & 1 deletion superset/connectors/connector_registry.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit bade279

Please sign in to comment.