summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMagnus Hagander2023-02-21 14:18:42 +0000
committerMagnus Hagander2023-02-21 14:18:42 +0000
commit65eef28f69f6b20b466d0754e37c8d234c9ec825 (patch)
tree365b434c9bf4ce32d5db3c99760ee60b632b698a
parentb271a05673f5e0dbf0895712592ba594689e129a (diff)
Switch out pep8 for pycodestyle in git hook
New name for the same command.
-rwxr-xr-xtools/githook/pre-commit2
1 files changed, 1 insertions, 1 deletions
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"