diff options
| author | Giampaolo Rodola <g.rodola@gmail.com> | 2020-02-21 12:40:20 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-02-21 12:40:20 +0100 |
| commit | 567547fa3ba3f11ee4f2dc9e73d37a146fe49e1b (patch) | |
| tree | fdfa665b3dc017b974a762f1e2e697f267216751 /scripts/internal/winmake.py | |
| parent | f2e0c98ec0348810afe0e12347991438123c86f1 (diff) | |
| download | psutil-567547fa3ba3f11ee4f2dc9e73d37a146fe49e1b.tar.gz | |
Git hook for renamed/added/deleted files + flake8 print() + tidelift (#1704)
Diffstat (limited to 'scripts/internal/winmake.py')
| -rwxr-xr-x | scripts/internal/winmake.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/internal/winmake.py b/scripts/internal/winmake.py index 4d3fa318..c9aa2952 100755 --- a/scripts/internal/winmake.py +++ b/scripts/internal/winmake.py @@ -490,7 +490,8 @@ def test_memleaks(): def install_git_hooks(): """Install GIT pre-commit hook.""" if os.path.isdir('.git'): - src = os.path.join(ROOT_DIR, "scripts", "internal", ".git-pre-commit") + src = os.path.join( + ROOT_DIR, "scripts", "internal", "git_pre_commit.py") dst = os.path.realpath( os.path.join(ROOT_DIR, ".git", "hooks", "pre-commit")) with open(src, "rt") as s: |
