refactor: Override options redesign
* Add test for defaults, fix platform detection * Improve correctness of reader.identifier with block * Fix options test to be multiplatform * 'Refactored by Sourcery' docs: write a section on overrides tests: test docker launches feat: add identifiers to launches test: add test for correct build step generation Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com>
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
from cibuildwheel.options import CommandLineArguments
|
||||
|
||||
|
||||
def get_default_command_line_arguments() -> CommandLineArguments:
|
||||
defaults = CommandLineArguments()
|
||||
|
||||
defaults.platform = "auto"
|
||||
defaults.allow_empty = False
|
||||
defaults.archs = None
|
||||
defaults.config_file = None
|
||||
defaults.output_dir = None
|
||||
defaults.package_dir = "."
|
||||
defaults.prerelease_pythons = False
|
||||
defaults.print_build_identifiers = False
|
||||
|
||||
return defaults
|
||||
Reference in New Issue
Block a user