Use actual boolean parameters and variables #253
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Same as pypa/setuptools#4365 but for
distutils
This PR intends to contain no logic change. Only literal type changes. There should be no visible runtime changes for users. Nor type-checkers yet as
setuptools
doesn't currently exposedistutils
statically.Based on the following regex:
(create|direct|reinit_subcommands|plat_specific|include_bytecode|is_regex|anchor|strict|restructuredtext|verbose|no_ep|inplace|preserve_mode|preserve_times|search_path|dry_run|global_options|display_options|strip_comments|skip_blanks|join_lines|lstrip_ws|rstrip_ws|collapse_join|force|infiles|skip_build|install_path_file|replace|debug|warn_dir|strip_dir|preserve_symlinks|update|standard_lib|decl|call|finalized|use_rpm_opt_flags|rpm3_mode|no_autoreq|quiet|use_defaults|prune|manifest_only|force_manifest|keep_temp|user|help|show_response|relative|compile|checked|list_classifiers|show_response) ?= ?0
-->$1=False
(similar for1
-->True
)