You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
f"CLI documentation style error: help description for the Report generation flag {name_or_flags} was unexpectedly provided. (Currently, '{help}'.)"
389
-
+" This check is in the code because we assume there's nothing help to say about the report flags."
390
-
+" If you're improving that situation, feel free to remove this check."
387
+
ValueError(
388
+
"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."
391
392
)
392
393
else:
393
394
ifnothelp:
394
395
raiseValueError(
395
-
f"CLI documentation style error: flag help description for {name_or_flags} must be provided. (Currently, '{help}'.)"
396
+
f"Mypy-internal CLI documentation style error: flag help description for {name_or_flags}"
397
+
+f" must be provided. (Currently, '{help}'.)"
396
398
)
397
399
ifhelp[0] !=help[0].upper():
398
400
raiseValueError(
399
-
f"CLI documentation style error: flag help description for {name_or_flags} must start with a capital letter (or unicameral symbol). (Currently, '{help}'.)"
401
+
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}'.)"
400
403
)
401
404
ifhelp[-1] ==".":
402
405
raiseValueError(
403
-
f"CLI documentation style error: flag help description for {name_or_flags} must NOT end with a period. (Currently, '{help}'.)"
406
+
f"Mypy-internal CLI documentation style error: flag help description for {name_or_flags}"
407
+
+f" must NOT end with a period. (Currently, '{help}'.)"
f"Package '{p}' cannot be type checked due to missing py.typed marker. See https://mypy.readthedocs.io/en/stable/installed_packages.html for more details",
1612
+
f"Package '{p}' cannot be type checked due to missing py.typed marker."
1613
+
+" See https://mypy.readthedocs.io/en/stable/installed_packages.html for more details",
0 commit comments