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 authored and Emmanuel Bavoux committed Nov 14, 2021
1 parent 0c72d12 commit c18f757
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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 c18f757

Please sign in to comment.