distutils: expose Command.dry_run + make 0|1 attrs bool (#12607)

This commit is contained in:
Avasam
2024-08-30 12:32:54 -04:00
committed by GitHub
parent 4109c06d07
commit f87041e118
4 changed files with 8 additions and 6 deletions

View File

@@ -88,9 +88,9 @@ class Distribution:
display_options: ClassVar[_OptionsList]
display_option_names: ClassVar[list[str]]
negative_opt: ClassVar[dict[str, str]]
verbose: int
dry_run: int
help: int
verbose: Literal[0, 1]
dry_run: Literal[0, 1]
help: Literal[0, 1]
command_packages: list[str] | None
script_name: str | None
script_args: list[str] | None