projects
/
pgcommitfest2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b271a05
)
Switch out pep8 for pycodestyle in git hook
author
Magnus Hagander
<magnus@hagander.net>
Tue, 21 Feb 2023 14:18:42 +0000
(15:18 +0100)
committer
Magnus Hagander
<magnus@hagander.net>
Tue, 21 Feb 2023 14:18:42 +0000
(15:18 +0100)
New name for the same command.
tools/githook/pre-commit
patch
|
blob
|
blame
|
history
diff --git
a/tools/githook/pre-commit
b/tools/githook/pre-commit
index 47cc50da8e0067246ecd32f8b2c9643b8d54a7e7..c1b36a0ed311002d33aa196bc91cc56d95ab43f2 100755
(executable)
--- a/
tools/githook/pre-commit
+++ b/
tools/githook/pre-commit
@@
-22,7
+22,7
@@
if [ "$FILES" != "" ]; then
continue
fi
- R=$(git show ":$F" | p
ep8
-)
+ R=$(git show ":$F" | p
ycodestyle
-)
if [ "$?" != "0" ]; then
echo "Errors in $F"
echo "$R"