From: Magnus Hagander Date: Tue, 21 Feb 2023 14:18:42 +0000 (+0100) Subject: Switch out pep8 for pycodestyle in git hook X-Git-Url: http://git.postgresql.org/gitweb/review?a=commitdiff_plain;h=65eef28f69f6b20b466d0754e37c8d234c9ec825;p=pgcommitfest2.git Switch out pep8 for pycodestyle in git hook New name for the same command. --- diff --git a/tools/githook/pre-commit b/tools/githook/pre-commit index 47cc50d..c1b36a0 100755 --- a/tools/githook/pre-commit +++ b/tools/githook/pre-commit @@ -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"