superset-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From h...@apache.org
Subject [incubator-superset] 01/02: linting
Date Mon, 27 Aug 2018 22:49:26 GMT
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 <hmiles@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 = {


Mime
View raw message