You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2022/10/12 15:59:37 UTC

[GitHub] [airflow] jedcunningham commented on a diff in pull request #26985: Fix error on running pre-commit without installing breeze

jedcunningham commented on code in PR #26985:
URL: https://github.com/apache/airflow/pull/26985#discussion_r993648552


##########
dev/breeze/src/airflow_breeze/utils/path_utils.py:
##########
@@ -142,6 +142,12 @@ def reinstall_if_setup_changed() -> bool:
     except ModuleNotFoundError as e:
         if "importlib_metadata" in e.msg:
             return False
+        if "apache-airflow-breeze" in e.msg:
+            print(
+                """Missing Package`apache-airflow-breeze`.
+                   Use `pip install -e ./dev/breeze` to install the package."""

Review Comment:
   ```suggestion
                      Use `pipx install -e ./dev/breeze` to install the package."""
   ```
   
   We are using `pipx` for breeze.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org