From 6befffcc45bc1e987d1c6e7ad8b0fb8437c60494 Mon Sep 17 00:00:00 2001 From: Markus Unterwaditzer Date: Fri, 5 Jan 2018 18:24:14 +0100 Subject: [PATCH] Screw git hooks --- Makefile | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/Makefile b/Makefile index 7efe354..bbbceeb 100644 --- a/Makefile +++ b/Makefile @@ -82,7 +82,7 @@ install-test: install-servers install-dev [ -z "$(TEST_EXTRA_PACKAGES)" ] || pip install $(TEST_EXTRA_PACKAGES) install-style: install-docs install-dev - pip install -U flake8 flake8-import-order flake8-bugbear autopep8 + pip install -U flake8 flake8-import-order flake8-bugbear style: flake8 @@ -125,13 +125,6 @@ install-dev: pip install -U --force-reinstall $$(python setup.py --quiet minimal_requirements); \ fi -install-git-hooks: install-style - echo "make style-autocorrect" > .git/hooks/pre-commit - chmod +x .git/hooks/pre-commit - -style-autocorrect: - git diff --cached --name-only | egrep '\.py$$' | xargs --no-run-if-empty autopep8 -ri - ssh-submodule-urls: git submodule foreach "\ echo -n 'Old: '; \