[ci] Deprecate flake8 (#8409)

* [ci] Deprecate flake8

* Addressing @villebro's comments
This commit is contained in:
John Bodley
2019-10-18 14:44:27 -07:00
committed by Maxime Beauchemin
parent a19990185d
commit 9fc37ea9f1
234 changed files with 702 additions and 647 deletions

View File

@@ -16,12 +16,12 @@
# under the License.
# pylint: disable=C,R,W
from flask_appbuilder.models.sqla.interface import SQLAInterface
from flask_babel import gettext as __
from flask_babel import lazy_gettext as _
from flask_babel import gettext as __, lazy_gettext as _
from wtforms.validators import StopValidation
from superset import appbuilder
from superset.models.annotations import Annotation, AnnotationLayer
from .base import DeleteMixin, SupersetModelView
@@ -43,7 +43,7 @@ class StartEndDttmValidator(object):
)
class AnnotationModelView(SupersetModelView, DeleteMixin): # noqa
class AnnotationModelView(SupersetModelView, DeleteMixin):
datamodel = SQLAInterface(Annotation)
list_title = _("List Annotation")