-
-
Notifications
You must be signed in to change notification settings - Fork 46.7k
Commiting to a fork of this repo on a mac or linux does not work (using git) #12549
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Bug ReportTitle: Description: The Steps to Reproduce:
Expected Result: The Actual Result: The Possible cause: The shebang line Proposed Solution: Modify the shebang line in Environment:
Additional Information:
|
If we change the shebang to python3 instead of python then it would stop working for windows |
Please use https://docs.python.org/3.13/library/venv.html or |
What would you like to share?
Commiting to a fork of this repo on a mac or linux using git cli does not work because of pre-commit
In scripts/validate_files.py, the first line is:-
#!python
When pre-commit runs the validate_files hook, it uses python but python is there on windows.
On macos and linux, its python3. I also tried using alias python = python3 but it still does not work
Additional information
No response
The text was updated successfully, but these errors were encountered: