diff --git a/superset/db_engine_specs/__init__.py b/superset/db_engine_specs/__init__.py index 082c27c5245..51408aed0de 100644 --- a/superset/db_engine_specs/__init__.py +++ b/superset/db_engine_specs/__init__.py @@ -14,7 +14,6 @@ # KIND, either express or implied. See the License for the # specific language governing permissions and limitations # under the License. -# pylint: disable=C,R,W """Compatibility layer for different database engines This modules stores logic specific to different database engines. Things diff --git a/superset/db_engine_specs/elasticsearch.py b/superset/db_engine_specs/elasticsearch.py index 5ea06ba6b07..5fdc3de1a64 100644 --- a/superset/db_engine_specs/elasticsearch.py +++ b/superset/db_engine_specs/elasticsearch.py @@ -14,14 +14,13 @@ # KIND, either express or implied. See the License for the # specific language governing permissions and limitations # under the License. -# pylint: disable=C,R,W from datetime import datetime from typing import Dict, Optional from superset.db_engine_specs.base import BaseEngineSpec -class ElasticSearchEngineSpec(BaseEngineSpec): +class ElasticSearchEngineSpec(BaseEngineSpec): # pylint: disable=abstract-method engine = "elasticsearch" time_groupby_inline = True time_secondary_columns = True diff --git a/superset/db_engine_specs/exasol.py b/superset/db_engine_specs/exasol.py index 0e875d3b8f8..380b59825e4 100644 --- a/superset/db_engine_specs/exasol.py +++ b/superset/db_engine_specs/exasol.py @@ -14,13 +14,12 @@ # KIND, either express or implied. See the License for the # specific language governing permissions and limitations # under the License. -# pylint: disable=C,R,W from typing import List, Tuple from superset.db_engine_specs.base import BaseEngineSpec -class ExasolEngineSpec(BaseEngineSpec): +class ExasolEngineSpec(BaseEngineSpec): # pylint: disable=abstract-method """Engine spec for Exasol""" engine = "exa" diff --git a/superset/db_engines/hive.py b/superset/db_engines/hive.py index 62cae81a05b..093b5ebb05b 100644 --- a/superset/db_engines/hive.py +++ b/superset/db_engines/hive.py @@ -14,11 +14,12 @@ # KIND, either express or implied. See the License for the # specific language governing permissions and limitations # under the License. -# pylint: disable=C,R,W - +# pylint: disable=protected-access # TODO: contribute back to pyhive. -def fetch_logs(self, max_rows=1024, orientation=None): +def fetch_logs( + self, max_rows=1024, orientation=None +): # pylint: disable=unused-argument """Mocked. Retrieve the logs produced by the execution of the query. Can be called multiple times to fetch the logs produced after the previous call.