summaryrefslogtreecommitdiff
path: root/misc/hooks
diff options
context:
space:
mode:
authorDavid Sichma <david.sichma@student.kit.edu>2021-11-18 19:29:17 +0100
committerDavid Sichma <david.sichma@student.kit.edu>2021-11-18 19:29:17 +0100
commit3fe10c7e9d5578e289ac11b1535b601d8ed3f86a (patch)
treeea1fda555438617d1b9250be223d4fafe1b8cf6d /misc/hooks
parent84f59c60b07308a562b9c4bf79ca2d4d1fddb7a6 (diff)
Fixed pre-commit-black file extensions
Now hook can find .py files.
Diffstat (limited to 'misc/hooks')
-rwxr-xr-xmisc/hooks/pre-commit-black2
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/hooks/pre-commit-black b/misc/hooks/pre-commit-black
index 76d97294da..8e22e6068e 100755
--- a/misc/hooks/pre-commit-black
+++ b/misc/hooks/pre-commit-black
@@ -14,7 +14,7 @@ DELETE_OLD_PATCHES=false
# File types to parse.
FILE_NAMES="SConstruct SCsub"
-FILE_EXTS="py"
+FILE_EXTS=".py"
# Use pygmentize instead of cat to parse diff with highlighting.
# Install it with `pip install pygments` (Linux) or `easy_install Pygments` (Mac)