git hooks: fix references to tox config

This commit is contained in:
William Ballenthin
2020-07-07 12:30:54 -06:00
parent d55e1cd16b
commit 56b9462d01
2 changed files with 2 additions and 2 deletions

View File

@@ -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

View File

@@ -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