bugraoz93 commented on code in PR #50986:
URL: https://github.com/apache/airflow/pull/50986#discussion_r2103407758
##########
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:
What do you think about this? This is more stable, and it should be without
any errors
cc: @potiuk when you have time
--
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]