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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]