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

kaxilnaik pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git


The following commit(s) were added to refs/heads/main by this push:
     new f2315bf  Fix broken static checks from #15915 (#16378)
f2315bf is described below

commit f2315bf31b513c18eb266467f6c3036351d15050
Author: Jed Cunningham <[email protected]>
AuthorDate: Thu Jun 10 15:41:47 2021 -0600

    Fix broken static checks from #15915 (#16378)
---
 airflow/www/views.py | 17 ++++-------------
 1 file changed, 4 insertions(+), 13 deletions(-)

diff --git a/airflow/www/views.py b/airflow/www/views.py
index cdee2b9..e7eeb3c 100644
--- a/airflow/www/views.py
+++ b/airflow/www/views.py
@@ -2310,16 +2310,10 @@ class Airflow(AirflowBaseView):  # noqa: D101  pylint: 
disable=too-many-public-m
             dag = dag.partial_subset(task_ids_or_regex=root, 
include_upstream=True, include_downstream=False)
         chart_height = wwwutils.get_chart_height(dag)
         chart = nvd3.lineChart(
-            name="lineChart",
-            x_is_date=True,
-            height=chart_height,
-            chart_attr=self.line_chart_attr
+            name="lineChart", x_is_date=True, height=chart_height, 
chart_attr=self.line_chart_attr
         )
         cum_chart = nvd3.lineChart(
-            name="cumLineChart",
-            x_is_date=True,
-            height=chart_height,
-            chart_attr=self.line_chart_attr
+            name="cumLineChart", x_is_date=True, height=chart_height, 
chart_attr=self.line_chart_attr
         )
 
         y_points = defaultdict(list)
@@ -2443,7 +2437,7 @@ class Airflow(AirflowBaseView):  # noqa: D101  pylint: 
disable=too-many-public-m
             x_is_date=True,
             y_axis_format='d',
             height=chart_height,
-            chart_attr=self.line_chart_attr
+            chart_attr=self.line_chart_attr,
         )
 
         for task in dag.tasks:
@@ -2514,10 +2508,7 @@ class Airflow(AirflowBaseView):  # noqa: D101  pylint: 
disable=too-many-public-m
 
         chart_height = wwwutils.get_chart_height(dag)
         chart = nvd3.lineChart(
-            name="lineChart",
-            x_is_date=True,
-            height=chart_height,
-            chart_attr=self.line_chart_attr
+            name="lineChart", x_is_date=True, height=chart_height, 
chart_attr=self.line_chart_attr
         )
         y_points = {}
         x_points = {}

Reply via email to