Skip to content

Commit 5bd1d76

Browse files
committed
Merge pull request #2890 from practicalswift/pep-fix
[gardening] PEP-8 fixes.
2 parents 1752b11 + ab807c6 commit 5bd1d76

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

utils/SwiftBuildSupport.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -145,11 +145,11 @@ def get_preset_options(substitutions, preset_file_names, preset_name):
145145
# Migrate 'swift-sdks' parameter to 'stdlib-deployment-targets'
146146
for opt in build_script_impl_opts:
147147
if opt.startswith("--swift-sdks"):
148-
sdksToConfigure = opt.split("=")[1].split(";")
148+
sdks_to_configure = opt.split("=")[1].split(";")
149149
tgts = []
150150
# Expand SDKs in to their deployment targets
151151
from swift_build_support.targets import StdlibDeploymentTarget
152-
for sdk in sdksToConfigure:
152+
for sdk in sdks_to_configure:
153153
if sdk == "OSX":
154154
tgts += StdlibDeploymentTarget.OSX.allArchs
155155
elif sdk == "IOS":

utils/swift_build_support/swift_build_support/targets.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,13 @@ class OSX(object):
1818
x86_64 = 'macosx-x86_64'
1919
allArchs = [x86_64]
2020

21-
class iOS(object):
21+
class iOS(object): # noqa
2222
armv7 = 'iphoneos-armv7'
2323
armv7s = 'iphoneos-armv7s'
2424
arm64 = 'iphoneos-arm64'
2525
allArchs = [armv7, armv7s, arm64]
2626

27-
class iOSSimulator(object):
27+
class iOSSimulator(object): # noqa
2828
i386 = 'iphonesimulator-i386'
2929
x86_64 = 'iphonesimulator-x86_64'
3030
allArchs = [i386, x86_64]

0 commit comments

Comments
 (0)