chore(pylint): Remove top-level disable (#16589)

* chore(pylint): Remove top-level disable

* Update examples.py

* Update command.py

Co-authored-by: John Bodley <john.bodley@airbnb.com>
This commit is contained in:
John Bodley
2021-09-15 09:30:23 -07:00
committed by GitHub
parent adc3d24c21
commit fb4650a6eb
45 changed files with 681 additions and 655 deletions

View File

@@ -14,15 +14,12 @@
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
# pylint: disable=too-few-public-methods
from typing import Any, Dict, List, Optional
from superset.models.core import Database
class SQLValidationAnnotation:
class SQLValidationAnnotation: # pylint: disable=too-few-public-methods
"""Represents a single annotation (error/warning) in an SQL querytext"""
def __init__(
@@ -47,7 +44,7 @@ class SQLValidationAnnotation:
}
class BaseSQLValidator:
class BaseSQLValidator: # pylint: disable=too-few-public-methods
"""BaseSQLValidator defines the interface for checking that a given sql
query is valid for a given database engine."""