Skip to content

Commit 784da60

Browse files
authored
Fix regexp (#37)
1 parent a09f8e2 commit 784da60

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

blacken.el

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ Return black process the exit code."
118118
(when blacken-skip-string-normalization
119119
(list "--skip-string-normalization"))
120120
(when (and (buffer-file-name (current-buffer))
121-
(string-match "\.pyi$" (buffer-file-name (current-buffer))))
121+
(string-match "\\.pyi\\'" (buffer-file-name (current-buffer))))
122122
(list "--pyi"))
123123
'("-")))
124124

0 commit comments

Comments
 (0)