Skip to content

Commit 2c25cbb

Browse files
[gardening] Fix PEP 8 violation.
1 parent c4666a7 commit 2c25cbb

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

utils/build-script

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ import swift_build_support.ninja # noqa (E402)
4747
import swift_build_support.tar # noqa (E402)
4848
import swift_build_support.targets # noqa (E402)
4949

50+
5051
# A strict parser for bools (unlike Python's `bool()`, where
5152
# `bool('False')` is `True`).
5253
#

utils/swift-api-dump.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -203,14 +203,16 @@ def collect_frameworks(sdk):
203203
(exitcode, sdk_path, err) = run_command(
204204
["xcrun", "--show-sdk-path", "-sdk", sdk])
205205
if exitcode != 0:
206-
print('error: framework collection failed to find SDK path for %s with error %d' % (sdk, exitcode))
206+
print('error: framework collection failed to find SDK path for %s '
207+
'with error %d' % (sdk, exitcode))
207208
return ()
208209
sdk_path = sdk_path.rstrip()
209210

210211
(exitcode, sdk_version, err) = run_command(
211212
["xcrun", "--show-sdk-version", "-sdk", sdk])
212213
if exitcode != 0:
213-
print('error: framework collection failed to find SDK version for %s with error %d' % (sdk, exitcode))
214+
print('error: framework collection failed to find SDK version for %s '
215+
'with error %d' % (sdk, exitcode))
214216
return ()
215217
sdk_version = sdk_version.rstrip()
216218

0 commit comments

Comments
 (0)