Skip to content

Commit d697b14

Browse files
committed
style: black format
1 parent f0d63e7 commit d697b14

1 file changed

Lines changed: 13 additions & 5 deletions

File tree

sign.py

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -838,13 +838,21 @@ def __sign_primary(self, component: Path, tmpdir: Path, data: ComponentData):
838838
shutil.copy2(self.opts.prov_file, embedded_prov)
839839
else:
840840
print("Registering component with Apple...")
841-
fastlane_register_app(self.opts.account_name, self.opts.account_pass, self.opts.team_id, data.bundle_id, data.entitlements)
841+
fastlane_register_app(
842+
self.opts.account_name, self.opts.account_pass, self.opts.team_id, data.bundle_id, data.entitlements
843+
)
842844

843845
print("Generating provisioning profile...")
844846
prov_type = "adhoc" if self.is_distribution else "development"
845847
platform = "macos" if self.is_mac_app else "ios"
846848
fastlane_get_prov_profile(
847-
self.opts.account_name, self.opts.account_pass, self.opts.team_id, data.bundle_id, prov_type, platform, embedded_prov
849+
self.opts.account_name,
850+
self.opts.account_pass,
851+
self.opts.team_id,
852+
data.bundle_id,
853+
prov_type,
854+
platform,
855+
embedded_prov,
848856
)
849857

850858
entitlements_plist = Path(tmpdir).joinpath("entitlements.plist")
@@ -985,9 +993,9 @@ def __prepare_primary(
985993

986994
# make sure environment-sensitive entitlements are set correctly
987995
for entitlement, value in {
988-
"com.apple.developer.icloud-container-environment": "Production"
989-
if self.is_distribution
990-
else "Development",
996+
"com.apple.developer.icloud-container-environment": (
997+
"Production" if self.is_distribution else "Development"
998+
),
991999
self.__get_aps_environment_key(): "production" if self.is_distribution else "development",
9921000
"get-task-allow": False if self.is_distribution else True,
9931001
}.items():

0 commit comments

Comments
 (0)