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