X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/5f0dc862f5bbfc8abed3f29d76325404eb4f99c0..d4ff985853c8d140d73b9d362604deedb41eb20e:/src/black/__init__.py diff --git a/src/black/__init__.py b/src/black/__init__.py index f00749a..9f44722 100644 --- a/src/black/__init__.py +++ b/src/black/__init__.py @@ -478,16 +478,20 @@ def main( # noqa: C901 ) normalized = [ - (source, source) - if source == "-" - else (normalize_path_maybe_ignore(Path(source), root), source) + ( + (source, source) + if source == "-" + else (normalize_path_maybe_ignore(Path(source), root), source) + ) for source in src ] srcs_string = ", ".join( [ - f'"{_norm}"' - if _norm - else f'\033[31m"{source} (skipping - invalid)"\033[34m' + ( + f'"{_norm}"' + if _norm + else f'\033[31m"{source} (skipping - invalid)"\033[34m' + ) for _norm, source in normalized ] )