From eaed295d41a04f42cfd31a5bd59062ca96351cad Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Wed, 3 Nov 2021 13:47:10 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- pre_commit/commands/run.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pre_commit/commands/run.py b/pre_commit/commands/run.py index d8b5aeae..5afdcd1d 100644 --- a/pre_commit/commands/run.py +++ b/pre_commit/commands/run.py @@ -112,7 +112,7 @@ class Classifier: # surround filenames containing whitespace with quotes for f in names: - if re.search(r"\s", f): + if re.search(r'\s', f): f = '"' + f + '"' return tuple(names)