Marco Ricci commited on 2026-08-29 18:45:38
Zeige 4 geänderte Dateien mit 4 Einfügungen und 6 Löschungen.
| ... | ... |
@@ -538,7 +538,7 @@ class CommandWithHelpGroups(click.Command): |
| 538 | 538 |
if self.short_help: # pragma: no cover [external-api] |
| 539 | 539 |
text = inspect.cleandoc(self._text(self.short_help)) |
| 540 | 540 |
elif self.help: |
| 541 |
- text = click.utils.make_default_short_help( |
|
| 541 |
+ text = click.utils.make_default_short_help( # type: ignore[all] |
|
| 542 | 542 |
self._text(self.help), limit |
| 543 | 543 |
) |
| 544 | 544 |
else: # pragma: no cover [external-api] |
| ... | ... |
@@ -247,8 +247,8 @@ class CliRunner: |
| 247 | 247 |
# checker, we disable static type checking for this call in |
| 248 | 248 |
# particular; our test suite will have to uncover any breakage |
| 249 | 249 |
# dynamically instead. |
| 250 |
- self.click_testing_clirunner = click.testing.CliRunner( # type: ignore[misc] |
|
| 251 |
- **mix_stderr_args |
|
| 250 |
+ self.click_testing_clirunner = click.testing.CliRunner( |
|
| 251 |
+ **mix_stderr_args # type: ignore[misc] |
|
| 252 | 252 |
) |
| 253 | 253 |
|
| 254 | 254 |
def invoke( |