chore(pylint): Reenable too-few-public-methods check (#16264)

Co-authored-by: John Bodley <john.bodley@airbnb.com>
This commit is contained in:
John Bodley
2021-08-16 10:20:44 -07:00
committed by GitHub
parent 0df15bf207
commit 36bc7b0b80
6 changed files with 9 additions and 8 deletions

View File

@@ -22,7 +22,7 @@ from sqlalchemy import TypeDecorator
from sqlalchemy_utils import EncryptedType
class AbstractEncryptedFieldAdapter(ABC):
class AbstractEncryptedFieldAdapter(ABC): # pylint: disable=too-few-public-methods
@abstractmethod
def create(
self,
@@ -33,7 +33,9 @@ class AbstractEncryptedFieldAdapter(ABC):
pass
class SQLAlchemyUtilsAdapter(AbstractEncryptedFieldAdapter):
class SQLAlchemyUtilsAdapter( # pylint: disable=too-few-public-methods
AbstractEncryptedFieldAdapter
):
def create(
self,
app_config: Optional[Dict[str, Any]],

View File

@@ -27,7 +27,7 @@ except ModuleNotFoundError:
Profiler = None
class SupersetProfiler:
class SupersetProfiler: # pylint: disable=too-few-public-methods
"""
WSGI middleware to instrument Superset.