Skip to content

Commit 67dd115

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 2c45a29 commit 67dd115

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

mypy/main.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -386,20 +386,20 @@ def add_argument(self, *name_or_flags, help=None, **kwargs) -> argparse.Action:
386386
if help and help != argparse.SUPPRESS:
387387
ValueError(
388388
"Mypy-internal CLI documentation style error: help description for the Report generation flag"
389-
+ f" {name_or_flags} was unexpectedly provided. (Currently, '{help}'.)"
390-
+ " This check is in the code because we assume there's nothing help to say about the report flags."
391-
+ " If you're improving that situation, feel free to remove this check."
389+
+ f" {name_or_flags} was unexpectedly provided. (Currently, '{help}'.)"
390+
+ " This check is in the code because we assume there's nothing help to say about the report flags."
391+
+ " If you're improving that situation, feel free to remove this check."
392392
)
393393
else:
394394
if not help:
395395
raise ValueError(
396396
f"Mypy-internal CLI documentation style error: flag help description for {name_or_flags}"
397-
+ f" must be provided. (Currently, '{help}'.)"
397+
+ f" must be provided. (Currently, '{help}'.)"
398398
)
399399
if help[0] != help[0].upper():
400400
raise ValueError(
401401
f"Mypy-internal CLI documentation style error: flag help description for {name_or_flags}"
402-
+ f" must start with a capital letter (or unicameral symbol). (Currently, '{help}'.)"
402+
+ f" must start with a capital letter (or unicameral symbol). (Currently, '{help}'.)"
403403
)
404404
if help[-1] == ".":
405405
raise ValueError(

0 commit comments

Comments
 (0)