potiuk commented on code in PR #22998:
URL: https://github.com/apache/airflow/pull/22998#discussion_r850233226
##########
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')
+ if "Breeze installed from" in result:
+ print_help_for_all_commands()
+ verify_all_commands_described_in_docs()
+ else:
+ print(
+ "You don't have Breeze installed, follow BREEZE.rst to install it \
Review Comment:
we should use rich console and [red] for error and [yellow] for "action" to
be done by the user
--
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]