uplsh580 commented on PR #62277:
URL: https://github.com/apache/airflow/pull/62277#issuecomment-3976248106
> Can you not simply use `prek_bin = shutil.which("prek",
path=str(Path(sys.executable).parent))`?
>
> This way there is no need to again slowly init a python interpreter when
running a fast rust command.
@CarliJoy I've updated the code to use shutil.which as you suggested. Thanks
for the sharp catch!
--
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]