Skip to content

Commit 96d1638

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 08558da commit 96d1638

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

mypy/config_parser.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,9 @@ def try_split(v: str | Sequence[str] | Any, split_regex: str = "[,]") -> list[st
7272
elif isinstance(v, Sequence):
7373
return [p.strip() if isinstance(p, str) else p for p in v]
7474
else:
75-
raise argparse.ArgumentTypeError(f"Expected a list or a stringified version thereof, but got: '{v}'")
75+
raise argparse.ArgumentTypeError(
76+
f"Expected a list or a stringified version thereof, but got: '{v}'"
77+
)
7678

7779

7880
def validate_codes(codes: list[str]) -> list[str]:

0 commit comments

Comments
 (0)