From 56b9462d01e29a7cbfc7b164e1c504b30ef3f499 Mon Sep 17 00:00:00 2001 From: William Ballenthin Date: Tue, 7 Jul 2020 12:30:54 -0600 Subject: [PATCH] git hooks: fix references to tox config --- scripts/hooks/post-commit | 2 +- scripts/hooks/pre-push | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/hooks/post-commit b/scripts/hooks/post-commit index 42953c4f..e3334be5 100755 --- a/scripts/hooks/post-commit +++ b/scripts/hooks/post-commit @@ -12,7 +12,7 @@ if [[ "$STASH_LIST" == *"$MSG"* ]]; then fi # Run style checker and print state (it doesn't block the commit) -pycodestyle --config=./ci/tox.ini ./capa/ > style-checker-output.log 2>&1; +pycodestyle --config=./.github/tox.ini ./capa/ > style-checker-output.log 2>&1; if [ $? == 0 ]; then echo 'Style checker succeeds!! 💘'; else diff --git a/scripts/hooks/pre-push b/scripts/hooks/pre-push index edab4689..620c5a78 100755 --- a/scripts/hooks/pre-push +++ b/scripts/hooks/pre-push @@ -19,7 +19,7 @@ restore_stashed() { } # Run style checker and print state -pycodestyle --config=./ci/tox.ini ./capa/ > style-checker-output.log 2>&1; +pycodestyle --config=./.github/tox.ini ./capa/ > style-checker-output.log 2>&1; if [ $? == 0 ]; then echo 'Style checker succeeds!! 💘'; else