Skip to content

Commit 3f6852d

Browse files
committed
Fix Python linting/testing issues
(cherry picked from commit aa3e7fb)
1 parent 581c1b1 commit 3f6852d

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

utils/build_swift/build_swift/driver_arguments.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -592,7 +592,8 @@ def create_argument_parser():
592592
option(['--back-deploy-concurrency'], toggle_true('build_backdeployconcurrency'),
593593
help='build back-deployment support for concurrency')
594594

595-
option(['--install-back-deploy-concurrency'], toggle_true('install_backdeployconcurrency'),
595+
option(['--install-back-deploy-concurrency'],
596+
toggle_true('install_backdeployconcurrency'),
596597
help='install back-deployment support libraries for concurrency')
597598

598599
option(['--libcxx'], toggle_true('build_libcxx'),

utils/build_swift/tests/expected_options.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,7 @@
166166
'only_executable_test': False,
167167
'only_non_executable_test': False,
168168
'infer_dependencies': False,
169+
'install_backdeployconcurrency': False,
169170
'install_prefix': targets.install_prefix(),
170171
'install_symroot': None,
171172
'install_destdir': None,
@@ -468,7 +469,8 @@ class BuildScriptImplOption(_BaseOption):
468469
SetOption('--skip-watchos', dest='watchos', value=False),
469470

470471
SetTrueOption('--back-deploy-concurrency', dest='build_backdeployconcurrency'),
471-
SetTrueOption('--install-back-deploy-concurrency', dest='install_backdeployconcurrency'),
472+
SetTrueOption('--install-back-deploy-concurrency',
473+
dest='install_backdeployconcurrency'),
472474
SetTrueOption('--benchmark'),
473475
SetTrueOption('--clean'),
474476
SetTrueOption('--dry-run'),

0 commit comments

Comments
 (0)