Browse Source

Merge pull request #55101 from DavidSichma/black-ext

Rémi Verschelde 3 years ago
parent
commit
ba798d585c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      misc/hooks/pre-commit-black

+ 1 - 1
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)