mirror of
https://github.com/mandiant/capa.git
synced 2025-12-23 07:28:34 -08:00
git hooks: fix references to tox config
This commit is contained in:
@@ -12,7 +12,7 @@ if [[ "$STASH_LIST" == *"$MSG"* ]]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# Run style checker and print state (it doesn't block the commit)
|
# 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
|
if [ $? == 0 ]; then
|
||||||
echo 'Style checker succeeds!! 💘';
|
echo 'Style checker succeeds!! 💘';
|
||||||
else
|
else
|
||||||
|
|||||||
@@ -19,7 +19,7 @@ restore_stashed() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
# Run style checker and print state
|
# 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
|
if [ $? == 0 ]; then
|
||||||
echo 'Style checker succeeds!! 💘';
|
echo 'Style checker succeeds!! 💘';
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user