From 24238dcef1af58ad16ddf4453b7405519b3cbac2 Mon Sep 17 00:00:00 2001 From: hauntsaninja Date: Wed, 1 Nov 2023 12:56:17 -0700 Subject: [PATCH] okay mypyc --- src/black/__init__.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/black/__init__.py b/src/black/__init__.py index 0800f74c4fe..08a907d50c5 100644 --- a/src/black/__init__.py +++ b/src/black/__init__.py @@ -652,7 +652,9 @@ def get_sources( ) continue - normalized_path = normalize_path_maybe_ignore(path, root, report) + normalized_path: Optional[str] = normalize_path_maybe_ignore( + path, root, report + ) if normalized_path is None: if verbose: out(f'Skipping invalid source: "{normalized_path}"', fg="red")