Skip to content

Commit 7e4245d

Browse files
authored
Merge pull request #325 from mozilla/enterprise-fix_lints_central
Enterprise: Fix lints error reported on TaskCluster
2 parents de6a7d0 + 0ef434b commit 7e4245d

File tree

5 files changed

+12
-4
lines changed

5 files changed

+12
-4
lines changed

browser/installer/allowed-dupes.mn

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,4 +107,3 @@ browser/chrome/browser/content/newtab/data/content/assets/glyph-webextension-16.
107107

108108
# Bug 1998760 - Fix duplicated felt localization
109109
browser/chrome/browser/builtin-addons/felt/content/locales/felt.ftl
110-

docs/readme/readme-banner.svg

Lines changed: 3 additions & 0 deletions
Loading

dom/base/nsIContentPolicy.idl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -523,7 +523,7 @@ interface nsIContentPolicy : nsISupports
523523
const short REJECT_POLICY = -5;
524524

525525
/**
526-
* Returned from shouldLoad or shouldProcess if restart is forced
526+
* Returned from shouldLoad or shouldProcess if restart is forced
527527
*/
528528
const short REJECT_RESTARTFORCED = -6;
529529

taskcluster/gecko_taskgraph/util/scriptworker.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -508,7 +508,11 @@ def get_signing_type_per_platform(build_platform, is_shippable, config):
508508
if "devedition" in build_platform:
509509
return get_devedition_signing_type(config)
510510
if "enterprise" in build_platform:
511-
if is_shippable and "enterprise-main" in config.params["head_ref"] and int(config.params["level"]) == 3:
511+
if (
512+
is_shippable
513+
and "enterprise-main" in config.params["head_ref"]
514+
and int(config.params["level"]) == 3
515+
):
512516
return get_enterprise_main_signing_type(config)
513517
else:
514518
return get_enterprise_try_signing_type(config)

taskcluster/gecko_taskgraph/util/signed_artifacts.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,9 @@
1818

1919

2020
def is_partner_kind(kind):
21-
if kind and kind.startswith(("release-partner", "release-eme-free", "enterprise-repack")):
21+
if kind and kind.startswith(
22+
("release-partner", "release-eme-free", "enterprise-repack")
23+
):
2224
return True
2325

2426

0 commit comments

Comments
 (0)