Skip to content

Commit 3c4ffcf

Browse files
committed
Fix python lint
1 parent 15937f4 commit 3c4ffcf

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

utils/build-script

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ _SUPPORTED_XCODE_BUILDS = [
6262
# -----------------------------------------------------------------------------
6363
# Helpers
6464

65+
6566
def print_note(message, stream=sys.stdout):
6667
"""Writes a diagnostic message to the given stream. By default this
6768
function outputs to stdout.
@@ -152,6 +153,7 @@ def print_xcodebuild_versions(file=sys.stdout):
152153
print(fmt.format(version=version, sdks=sdks), file=file)
153154
file.flush()
154155

156+
155157
def validate_xcode_compatibility():
156158
if sys.platform != 'darwin':
157159
return
@@ -168,11 +170,14 @@ def validate_xcode_compatibility():
168170
valid_versions_string = "\n".join(
169171
"{} ({})".format(*x) for x in _SUPPORTED_XCODE_BUILDS)
170172
raise SystemExit(
171-
"error: using unsupported Xcode version:\n\n{}\n\nInstall one of:\n{}\n\nOr set 'SKIP_XCODE_VERSION_CHECK=1' in the environment".format(
173+
"error: using unsupported Xcode version:\n\n{}\n\n"
174+
"Install one of:\n{}\n\n"
175+
"Or set 'SKIP_XCODE_VERSION_CHECK=1' in the environment".format(
172176
version, valid_versions_string
173177
)
174178
)
175179

180+
176181
def tar(source, destination):
177182
"""
178183
Create a gzip archive of the file at 'source' at the given

0 commit comments

Comments
 (0)