You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by ka...@apache.org on 2021/06/14 22:09:46 UTC

[airflow] 03/03: fixup! Add conf not importable from airflow rule (#14400)

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

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

commit 1cabbf6adf718eaf6b59d5812d1a97d34bb4895a
Author: Kaxil Naik <ka...@gmail.com>
AuthorDate: Mon Jun 14 23:08:49 2021 +0100

    fixup! Add conf not importable from airflow rule (#14400)
---
 airflow/upgrade/rules/fix_conf_not_importable_from_airflow.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/airflow/upgrade/rules/fix_conf_not_importable_from_airflow.py b/airflow/upgrade/rules/fix_conf_not_importable_from_airflow.py
index 88dd41f..7a977e0 100644
--- a/airflow/upgrade/rules/fix_conf_not_importable_from_airflow.py
+++ b/airflow/upgrade/rules/fix_conf_not_importable_from_airflow.py
@@ -22,8 +22,8 @@ from airflow.utils.dag_processing import list_py_file_paths
 
 class ProperlyImportConfFromAirflow(BaseRule):
     """
-      ProperlyImportConfFromAirflow class to ensure proper import of conf to work in Airflow 2.0
-      """
+    ProperlyImportConfFromAirflow class to ensure proper import of conf to work in Airflow 2.0
+    """
     title = "Ensure Users Properly Import conf from Airflow"
     description = """\
     In Airflow-2.0, it's not possible to import `conf` from airflow by using `import conf from airflow`