Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit eaed295

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 8ddeaab commit eaed295

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pre_commit/commands/run.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ def filenames_for_hook(self, hook: Hook) -> Tuple[str, ...]:
112112

113113
# surround filenames containing whitespace with quotes
114114
for f in names:
115-
if re.search(r"\s", f):
115+
if re.search(r'\s', f):
116116
f = '"' + f + '"'
117117

118118
return tuple(names)

0 commit comments

Comments
 (0)