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 2023/10/18 12:44:18 UTC

[airflow] branch main updated: Fix Precommit hook console.print' (#35016)

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

potiuk 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 18eb1fc072 Fix  Precommit hook console.print' (#35016)
18eb1fc072 is described below

commit 18eb1fc072f83c6b43e63d0327a62709b9e7a380
Author: Utkarsh Sharma <ut...@gmail.com>
AuthorDate: Wed Oct 18 18:14:09 2023 +0530

    Fix  Precommit hook console.print' (#35016)
    
    Currently console.print failes to print output because of extra  in error message.
---
 scripts/in_container/run_provider_yaml_files_check.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/in_container/run_provider_yaml_files_check.py b/scripts/in_container/run_provider_yaml_files_check.py
index f6fcef181f..83cda02e4b 100755
--- a/scripts/in_container/run_provider_yaml_files_check.py
+++ b/scripts/in_container/run_provider_yaml_files_check.py
@@ -340,7 +340,7 @@ def check_correctness_of_list_of_sensors_operators_hook_trigger_modules(
                 f"Currently configured list of {resource_type} modules in {yaml_file_path}",
                 extra_message="[yellow]Additional check[/]: If there are deprecated modules in the list,"
                 "please add them to DEPRECATED_MODULES in "
-                f"{pathlib.Path(__file__).relative_to(ROOT_DIR)}[/]",
+                f"{pathlib.Path(__file__).relative_to(ROOT_DIR)}",
             )
         except AssertionError as ex:
             nested_error = textwrap.indent(str(ex), "  ")