You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by po...@apache.org on 2020/11/15 02:52:09 UTC

[airflow] 26/32: Enable Black - Python Auto Formmatter (#9550)

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

potiuk pushed a commit to branch v1-10-test
in repository https://gitbox.apache.org/repos/asf/airflow.git

commit 265d155858052916d2325023815ef93a21316948
Author: Jarek Potiuk <ja...@potiuk.com>
AuthorDate: Sun Nov 15 03:42:47 2020 +0100

    Enable Black - Python Auto Formmatter (#9550)
    
    (cherry-picked from commit 4e8f9cc8d02b29c325b8a5a76b4837671bdf5f68)
---
 chart/tests/test_celery_kubernetes_executor.py          | 1 +
 chart/tests/test_celery_kubernetes_pod_launcher_role.py | 1 +
 chart/tests/test_chart_quality.py                       | 3 +--
 chart/tests/test_dags_persistent_volume_claim.py        | 1 +
 chart/tests/test_flower_authorization.py                | 1 +
 chart/tests/test_git_sync_scheduler.py                  | 1 +
 chart/tests/test_git_sync_webserver.py                  | 1 +
 chart/tests/test_git_sync_worker.py                     | 1 +
 chart/tests/test_migrate_database_job.py                | 1 +
 chart/tests/test_pod_template_file.py                   | 3 ++-
 chart/tests/test_scheduler.py                           | 1 +
 chart/tests/test_worker.py                              | 1 +
 12 files changed, 13 insertions(+), 3 deletions(-)

diff --git a/chart/tests/test_celery_kubernetes_executor.py b/chart/tests/test_celery_kubernetes_executor.py
index 57c3980..fb21929 100644
--- a/chart/tests/test_celery_kubernetes_executor.py
+++ b/chart/tests/test_celery_kubernetes_executor.py
@@ -18,6 +18,7 @@
 import unittest
 
 import jmespath
+
 from tests.helm_template_generator import render_chart
 
 
diff --git a/chart/tests/test_celery_kubernetes_pod_launcher_role.py b/chart/tests/test_celery_kubernetes_pod_launcher_role.py
index 535be11..952bc39 100644
--- a/chart/tests/test_celery_kubernetes_pod_launcher_role.py
+++ b/chart/tests/test_celery_kubernetes_pod_launcher_role.py
@@ -18,6 +18,7 @@
 import unittest
 
 import jmespath
+
 from tests.helm_template_generator import render_chart
 
 
diff --git a/chart/tests/test_chart_quality.py b/chart/tests/test_chart_quality.py
index 32237cb..5f17165 100644
--- a/chart/tests/test_chart_quality.py
+++ b/chart/tests/test_chart_quality.py
@@ -18,11 +18,10 @@
 import json
 import os
 import unittest
-import yaml
 
+import yaml
 from jsonschema import validate
 
-
 CHART_FOLDER = os.path.dirname(os.path.dirname(__file__))
 
 
diff --git a/chart/tests/test_dags_persistent_volume_claim.py b/chart/tests/test_dags_persistent_volume_claim.py
index 069a0cd..946c40f 100644
--- a/chart/tests/test_dags_persistent_volume_claim.py
+++ b/chart/tests/test_dags_persistent_volume_claim.py
@@ -18,6 +18,7 @@
 import unittest
 
 import jmespath
+
 from tests.helm_template_generator import render_chart
 
 
diff --git a/chart/tests/test_flower_authorization.py b/chart/tests/test_flower_authorization.py
index f0cc5b0..0520ddd 100644
--- a/chart/tests/test_flower_authorization.py
+++ b/chart/tests/test_flower_authorization.py
@@ -18,6 +18,7 @@
 import unittest
 
 import jmespath
+
 from tests.helm_template_generator import render_chart
 
 
diff --git a/chart/tests/test_git_sync_scheduler.py b/chart/tests/test_git_sync_scheduler.py
index a01c0f2..068f36c 100644
--- a/chart/tests/test_git_sync_scheduler.py
+++ b/chart/tests/test_git_sync_scheduler.py
@@ -18,6 +18,7 @@
 import unittest
 
 import jmespath
+
 from tests.helm_template_generator import render_chart
 
 
diff --git a/chart/tests/test_git_sync_webserver.py b/chart/tests/test_git_sync_webserver.py
index 30c3f33..75ec51b 100644
--- a/chart/tests/test_git_sync_webserver.py
+++ b/chart/tests/test_git_sync_webserver.py
@@ -18,6 +18,7 @@
 import unittest
 
 import jmespath
+
 from tests.helm_template_generator import render_chart
 
 
diff --git a/chart/tests/test_git_sync_worker.py b/chart/tests/test_git_sync_worker.py
index a70d311..e5036d7 100644
--- a/chart/tests/test_git_sync_worker.py
+++ b/chart/tests/test_git_sync_worker.py
@@ -18,6 +18,7 @@
 import unittest
 
 import jmespath
+
 from tests.helm_template_generator import render_chart
 
 
diff --git a/chart/tests/test_migrate_database_job.py b/chart/tests/test_migrate_database_job.py
index 0524315..4b92aca 100644
--- a/chart/tests/test_migrate_database_job.py
+++ b/chart/tests/test_migrate_database_job.py
@@ -18,6 +18,7 @@
 import unittest
 
 import jmespath
+
 from tests.helm_template_generator import render_chart
 
 
diff --git a/chart/tests/test_pod_template_file.py b/chart/tests/test_pod_template_file.py
index 0673e08..d9334de 100644
--- a/chart/tests/test_pod_template_file.py
+++ b/chart/tests/test_pod_template_file.py
@@ -17,10 +17,11 @@
 
 import unittest
 from os import remove
-from os.path import realpath, dirname
+from os.path import dirname, realpath
 from shutil import copyfile
 
 import jmespath
+
 from tests.helm_template_generator import render_chart
 
 ROOT_FOLDER = realpath(dirname(realpath(__file__)) + "/..")
diff --git a/chart/tests/test_scheduler.py b/chart/tests/test_scheduler.py
index 9769848..eb5225e 100644
--- a/chart/tests/test_scheduler.py
+++ b/chart/tests/test_scheduler.py
@@ -18,6 +18,7 @@
 import unittest
 
 import jmespath
+
 from tests.helm_template_generator import render_chart
 
 
diff --git a/chart/tests/test_worker.py b/chart/tests/test_worker.py
index 2fc6d17..9b3515e 100644
--- a/chart/tests/test_worker.py
+++ b/chart/tests/test_worker.py
@@ -18,6 +18,7 @@
 import unittest
 
 import jmespath
+
 from tests.helm_template_generator import render_chart