Skip to content

Commit

Permalink
fix: remove useless-suppression for pylint (apache#16696)
Browse files Browse the repository at this point in the history
  • Loading branch information
zhaoyongjie committed Sep 14, 2021
1 parent d984c10 commit ad60c0c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion superset/models/slice.py
Expand Up @@ -53,7 +53,7 @@
logger = logging.getLogger(__name__)


class Slice( # pylint: disable=too-many-public-methods, too-many-instance-attributes
class Slice( # pylint: disable=too-many-public-methods
Model, AuditMixinNullable, ImportExportMixin
):
"""A slice is essentially a report or a view on data"""
Expand Down
2 changes: 1 addition & 1 deletion superset/sqllab/command.py
Expand Up @@ -383,7 +383,7 @@ def _is_store_results(cls, query: Query) -> bool:
)

def _create_payload_from_execution_context(
# pylint: disable=invalid-name, no-self-use
# pylint: disable=invalid-name
self,
status: SqlJsonExecutionStatus,
) -> str:
Expand Down

0 comments on commit ad60c0c

Please sign in to comment.