From 069c1383d541ade00728f5e2eb5d5642d27891ca Mon Sep 17 00:00:00 2001 From: Magnus Hagander Date: Thu, 23 Mar 2023 10:44:27 +0100 Subject: [PATCH] Replace reference to pep8 with pycodestyle pep8 has been a deprecated name for a long time... --- tools/githook/pre-commit | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" -- 2.39.5