Switch out pep8 for pycodestyle in git hook
authorMagnus Hagander <magnus@hagander.net>
Tue, 21 Feb 2023 14:18:42 +0000 (15:18 +0100)
committerMagnus Hagander <magnus@hagander.net>
Tue, 21 Feb 2023 14:18:42 +0000 (15:18 +0100)
New name for the same command.

tools/githook/pre-commit

index 47cc50da8e0067246ecd32f8b2c9643b8d54a7e7..c1b36a0ed311002d33aa196bc91cc56d95ab43f2 100755 (executable)
@@ -22,7 +22,7 @@ if [ "$FILES" != "" ]; then
            continue
        fi
 
-       R=$(git show ":$F" | pep8 -)
+       R=$(git show ":$F" | pycodestyle -)
        if [ "$?" != "0" ]; then
            echo "Errors in $F"
            echo "$R"