Skip to content

Commiting to a fork of this repo on a mac or linux does not work (using git) #12549

Open
@XenoBytesX

Description

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    awaiting triageAwaiting triage from a maintainer

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions