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/04/14 07:23:25 UTC

[GitHub] [airflow] uranusjr commented on a diff in pull request #22998: Add nicer error for breeze update static check

uranusjr commented on code in PR #22998:
URL: https://github.com/apache/airflow/pull/22998#discussion_r850156929


##########
scripts/ci/pre_commit/pre_commit_breeze_cmd_line.py:
##########
@@ -79,6 +80,19 @@ def verify_all_commands_described_in_docs():
         sys.exit(1)
 
 
+def verify_breeze_installed():
+    result = subprocess.getoutput('breeze version')

Review Comment:
   Maybe use `shutil.which()`? Not as accurate (fails if `breeze` is not “our” command but from somewhere else, for example), but a lot faster.



-- 
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