1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-13 11:19:50 +03:00
aports/testing/icdiff/fix-flake8-binary.patch
2019-06-02 14:24:55 +00:00

24 lines
665 B
Diff

diff --git a/test.sh b/test.sh
old mode 100755
new mode 100644
index b44425d817..be8eb15fa9
--- a/test.sh
+++ b/test.sh
@@ -129,7 +129,7 @@ if [ "$VERSION" != $(head -n 1 ChangeLog) ]; then
fail
fi
-if ! command -v 'flake8' >/dev/null 2>&1; then
+if ! command -v 'flake8-3' >/dev/null 2>&1; then
echo 'Could not find flake8. Ensure flake8 is installed and on your $PATH.'
if [ -z "$VIRTUAL_ENV" ]; then
echo 'It appears you have have forgotten to activate your virtualenv.'
@@ -139,7 +139,7 @@ if ! command -v 'flake8' >/dev/null 2>&1; then
fi
echo 'Running flake8 linter...'
-if ! flake8 icdiff; then
+if ! flake8-3 icdiff; then
fail
fi