JelleZijlstra / stubdefaulter

Add default values to stubs
Other
10 stars 4 forks source link

Blacklist `distutils.dist.Distribution.announce` #59

Closed AlexWaygood closed 1 year ago

AlexWaygood commented 1 year ago

See https://github.com/python/typeshed/pull/9800 for context

github-actions[bot] commented 1 year ago

⚠ Diff showing the effect of this PR on how stubdefaulter would alter typeshed's stdlib:

```diff diff --git a/stdlib/distutils/dist.pyi b/stdlib/distutils/dist.pyi index e0d2fa5..dfffdc5 100644 --- a/stdlib/distutils/dist.pyi +++ b/stdlib/distutils/dist.pyi @@ -103,7 +103,7 @@ class Distribution: def get_command_packages(self): ... def get_command_class(self, command): ... def reinitialize_command(self, command, reinit_subcommands: int = 0): ... - def announce(self, msg, level: int = 2) -> None: ... + def announce(self, msg, level: int = ...) -> None: ... def run_commands(self) -> None: ... def run_command(self, command) -> None: ... def has_pure_modules(self): ... ```