potiuk commented on code in PR #50986:
URL: https://github.com/apache/airflow/pull/50986#discussion_r2103341638


##########
scripts/ci/pre_commit/capture_airflowctl_help.py:
##########
@@ -56,22 +56,22 @@
 def get_airflowctl_command_hash_dict(commands):
     hash_dict = {}
     for command in commands:
-        help_text = os.popen(f"python 
{AIRFLOW_CTL_SOURCES_PATH}/airflowctl/__main__.py {command} -h").read()
+        help_text = os.popen(f"airflowctl {command} -h").read()

Review Comment:
   Hmm. Is that going to work ? I think you need to have airflowctl installed 
in oder to be able to run help, and from pre-commit it is not really guaranteed 
? 



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

Reply via email to