You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by hu...@apache.org on 2018/08/27 22:49:26 UTC

[incubator-superset] 01/02: linting

This is an automated email from the ASF dual-hosted git repository.

hugh pushed a commit to branch update-annotation-model
in repository https://gitbox.apache.org/repos/asf/incubator-superset.git

commit 70116b26e10870900a2427c87cac952b3105f7c6
Author: Hugh Miles <hm...@lyft.com>
AuthorDate: Mon Aug 27 15:48:48 2018 -0700

    linting
---
 superset/views/annotations.py | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/superset/views/annotations.py b/superset/views/annotations.py
index 986b3b2..ecf3f5c 100644
--- a/superset/views/annotations.py
+++ b/superset/views/annotations.py
@@ -22,9 +22,12 @@ class AnnotationModelView(SupersetModelView, DeleteMixin):  # noqa
     add_title = _('Add Annotation')
     edit_title = _('Edit Annotation')
 
-    list_columns = ['layer', 'short_descr', 'start_dttm', 'end_dttm', 'annotation_metadata']
+    list_columns = ['layer', 'short_descr', 'start_dttm', 'end_dttm',
+                    'annotation_metadata']
     edit_columns = [
-        'layer', 'short_descr', 'long_descr', 'start_dttm', 'end_dttm', 'annotation_metadata']
+        'layer', 'short_descr', 'long_descr', 'start_dttm', 'end_dttm',
+        'annotation_metadata']
+
     add_columns = edit_columns
 
     label_columns = {