Skip to content

Commit

Permalink
okay mypyc
Browse files Browse the repository at this point in the history
  • Loading branch information
hauntsaninja committed Nov 1, 2023
1 parent 4aa9bd4 commit 24238dc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/black/__init__.py
Expand Up @@ -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")
Expand Down

0 comments on commit 24238dc

Please sign in to comment.