From e044592613952f7a7b8db39c641030ea3fd8c4d4 Mon Sep 17 00:00:00 2001 From: Magnus Hagander Date: Tue, 10 Jan 2023 21:15:22 +0100 Subject: [PATCH] Use pycodestyle instead of pep8 New name, same tool. We already did this in the pgeu repository, let's do it here as well. --- 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 caa0788..3058bd7 100755 --- a/tools/githook/pre-commit +++ b/tools/githook/pre-commit @@ -23,7 +23,7 @@ if [ "$FILES" != "" ]; then continue fi - R=$(git show ":$F" | pep8 --config=code/setup.cfg -) + R=$(git show ":$F" | pycodestyle --config=code/setup.cfg -) if [ "$?" != "0" ]; then echo "Errors in $F" echo "$R" -- 2.39.5