mirror of https://github.com/apache/superset.git
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
This commit is contained in:
parent
26fcc08906
commit
bade279883
|
@ -25,7 +25,6 @@ from superset.extensions import db
|
|||
from superset.models.slice import Slice
|
||||
|
||||
if TYPE_CHECKING:
|
||||
# pylint: disable=unused-import
|
||||
from superset.connectors.base.models import BaseDatasource
|
||||
|
||||
logger = logging.getLogger(__name__)
|
||||
|
|
|
@ -20,7 +20,6 @@ from sqlalchemy import or_
|
|||
from sqlalchemy.orm import Session, subqueryload
|
||||
|
||||
if TYPE_CHECKING:
|
||||
# pylint: disable=unused-import
|
||||
from collections import OrderedDict
|
||||
|
||||
from superset.connectors.base.models import BaseDatasource
|
||||
|
|
Loading…
Reference in New Issue