From: Magnus Hagander Date: Thu, 23 Mar 2023 09:44:27 +0000 (+0100) Subject: Replace reference to pep8 with pycodestyle X-Git-Url: http://git.postgresql.org/gitweb/static/gitweb.js?a=commitdiff_plain;h=069c1383d541ade00728f5e2eb5d5642d27891ca;p=pgarchives.git Replace reference to pep8 with pycodestyle pep8 has been a deprecated name for a long time... --- diff --git a/tools/githook/pre-commit b/tools/githook/pre-commit index d79aa8d..c12d0e1 100755 --- a/tools/githook/pre-commit +++ b/tools/githook/pre-commit @@ -21,7 +21,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"