Bug 1672798 - Run black formatting on suite/editor Python/mozbuild/mozconfigure files. r=IanN
authorRob Lemley <rob@thunderbird.net>
Thu, 05 Nov 2020 14:13:45 -0500
changeset 94448 21d8908a221d129633fd4cbb5bd1cdd10ff61506
parent 94447 4fe4863303d43c22128cc4e38e1c7b5e327b5481
child 94449 e9b5bfcb9795276c39f530792b57d3091254aac3
push id12117
push usermkmelin@iki.fi
push dateSat, 07 Nov 2020 21:50:07 +0000
treeherdertry-comm-central@7fa901043fe5 [default view] [failures only]
reviewersIanN
bugs1672798
Bug 1672798 - Run black formatting on suite/editor Python/mozbuild/mozconfigure files. r=IanN Differential Revision: https://phabricator.services.mozilla.com/D96098
editor/ui/locales/moz.build
editor/ui/moz.build
suite/app/icons/moz.build
suite/app/moz.build
suite/base/moz.build
suite/branding/seamonkey/content/moz.build
suite/branding/seamonkey/locales/moz.build
suite/branding/seamonkey/moz.build
suite/browser/moz.build
suite/components/autocomplete/moz.build
suite/components/bindings/moz.build
suite/components/build/moz.build
suite/components/console/moz.build
suite/components/dataman/moz.build
suite/components/downloads/moz.build
suite/components/feeds/moz.build
suite/components/helpviewer/moz.build
suite/components/migration/moz.build
suite/components/migration/public/moz.build
suite/components/migration/src/moz.build
suite/components/moz.build
suite/components/permissions/moz.build
suite/components/places/moz.build
suite/components/pref/moz.build
suite/components/profile/moz.build
suite/components/search/moz.build
suite/components/sessionstore/moz.build
suite/components/shell/moz.build
suite/components/sidebar/moz.build
suite/components/sync/moz.build
suite/extensions/debugQA/locales/moz.build
suite/extensions/debugQA/moz.build
suite/extensions/moz.build
suite/extensions/smime/moz.build
suite/installer/windows/moz.build
suite/locales/filter.py
suite/locales/moz.build
suite/mailnews/components/addrbook/moz.build
suite/mailnews/components/compose/moz.build
suite/mailnews/components/moz.build
suite/mailnews/components/prefs/moz.build
suite/mailnews/modules/moz.build
suite/mailnews/moz.build
suite/modules/moz.build
suite/moz.build
suite/moz.configure
suite/security/moz.build
suite/themes/classic/moz.build
suite/themes/modern/moz.build
--- a/editor/ui/locales/moz.build
+++ b/editor/ui/locales/moz.build
@@ -1,6 +1,6 @@
 # vim: set filetype=python:
 # This Source Code Form is subject to the terms of the Mozilla Public
 # License, v. 2.0. If a copy of the MPL was not distributed with this
 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
 
-JAR_MANIFESTS += ['jar.mn']
+JAR_MANIFESTS += ["jar.mn"]
--- a/editor/ui/moz.build
+++ b/editor/ui/moz.build
@@ -1,22 +1,20 @@
 # vim: set filetype=python:
 # This Source Code Form is subject to the terms of the Mozilla Public
 # License, v. 2.0. If a copy of the MPL was not distributed with this
 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
 
-DIRS += ['locales']
+DIRS += ["locales"]
 
-if CONFIG['MOZ_SUITE']:
+if CONFIG["MOZ_SUITE"]:
     EXTRA_COMPONENTS += [
-        'nsComposerCmdLineHandler.js',
-        'nsComposerCmdLineHandler.manifest',
+        "nsComposerCmdLineHandler.js",
+        "nsComposerCmdLineHandler.manifest",
     ]
 
 EXTRA_JS_MODULES += [
-    'editorUtilities.jsm',
+    "editorUtilities.jsm",
 ]
 
-JAR_MANIFESTS += ['jar.mn']
+JAR_MANIFESTS += ["jar.mn"]
 
-JS_PREFERENCE_PP_FILES += [
-    'composer.js'
-]
+JS_PREFERENCE_PP_FILES += ["composer.js"]
--- a/suite/app/icons/moz.build
+++ b/suite/app/icons/moz.build
@@ -1,23 +1,21 @@
 # vim: set filetype=python:
 # This Source Code Form is subject to the terms of the Mozilla Public
 # License, v. 2.0. If a copy of the MPL was not distributed with this
 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
 
-if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'windows':
-    icon_suffix = '.ico'
-    icon_dir = CONFIG['MOZ_WIDGET_TOOLKIT']
+if CONFIG["MOZ_WIDGET_TOOLKIT"] == "windows":
+    icon_suffix = ".ico"
+    icon_dir = CONFIG["MOZ_WIDGET_TOOLKIT"]
 
     # Windows icons
     desktop_icons = [
-        'calendar-alarm-dialog',
-        'calendar-event-dialog',
-        'calendar-event-summary-dialog',
-        'calendar-task-dialog',
-        'calendar-task-summary-dialog',
+        "calendar-alarm-dialog",
+        "calendar-event-dialog",
+        "calendar-event-summary-dialog",
+        "calendar-task-dialog",
+        "calendar-task-summary-dialog",
     ]
 
     FINAL_TARGET_FILES.chrome.icons.default += [
-        '%s/%s%s' % (icon_dir, i, icon_suffix) for i in sorted(
-            desktop_icons
-        )
+        "%s/%s%s" % (icon_dir, i, icon_suffix) for i in sorted(desktop_icons)
     ]
--- a/suite/app/moz.build
+++ b/suite/app/moz.build
@@ -1,109 +1,115 @@
 # vim: set filetype=python:
 # This Source Code Form is subject to the terms of the Mozilla Public
 # License, v. 2.0. If a copy of the MPL was not distributed with this
 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
 
 DIRS += [
-    'icons',
+    "icons",
 ]
 
-GeckoProgram(CONFIG['MOZ_APP_NAME'])
+GeckoProgram(CONFIG["MOZ_APP_NAME"])
 
-SOURCES += ['nsSuiteApp.cpp']
+SOURCES += ["nsSuiteApp.cpp"]
 
 LOCAL_INCLUDES += [
-    '!/build',
-    '/ipc/contentproc/',
-    '/toolkit/xre',
-    '/xpcom/base',
-    '/xpcom/build',
+    "!/build",
+    "/ipc/contentproc/",
+    "/toolkit/xre",
+    "/xpcom/base",
+    "/xpcom/build",
 ]
 
-if CONFIG['OS_ARCH'] == 'WINNT':
-    RCINCLUDE = 'splash.rc'
-    DEFINES['MOZ_SUITE'] = True
+if CONFIG["OS_ARCH"] == "WINNT":
+    RCINCLUDE = "splash.rc"
+    DEFINES["MOZ_SUITE"] = True
 
-if CONFIG['LIBFUZZER']:
-    USE_LIBS += [ 'fuzzer' ]
+if CONFIG["LIBFUZZER"]:
+    USE_LIBS += ["fuzzer"]
     LOCAL_INCLUDES += [
-        '/tools/fuzzing/libfuzzer',
+        "/tools/fuzzing/libfuzzer",
     ]
 
-if CONFIG['CC_TYPE'] in ('msvc', 'clang-cl'):
+if CONFIG["CC_TYPE"] in ("msvc", "clang-cl"):
     # Always enter a Windows program through wmain, whether or not we're
     # a console application.
-    WIN32_EXE_LDFLAGS += ['-ENTRY:wmainCRTStartup']
+    WIN32_EXE_LDFLAGS += ["-ENTRY:wmainCRTStartup"]
 
-if CONFIG['MOZ_SANDBOX'] and CONFIG['OS_ARCH'] == 'WINNT':
+if CONFIG["MOZ_SANDBOX"] and CONFIG["OS_ARCH"] == "WINNT":
     # For sandbox includes and the include dependencies those have
     LOCAL_INCLUDES += [
-        '/security/sandbox/chromium',
-        '/security/sandbox/chromium-shim',
+        "/security/sandbox/chromium",
+        "/security/sandbox/chromium-shim",
     ]
 
     OS_LIBS += [
-        'version',
+        "version",
     ]
 
     USE_LIBS += [
-        'sandbox_s',
+        "sandbox_s",
     ]
 
     DELAYLOAD_DLLS += [
-        'winmm.dll',
-        'user32.dll',
+        "winmm.dll",
+        "user32.dll",
     ]
 
-if CONFIG['OS_ARCH'] == 'WINNT':
+if CONFIG["OS_ARCH"] == "WINNT":
     OS_LIBS += [
-        'ntdll',
+        "ntdll",
     ]
 
-    if CONFIG['CC_TYPE'] == "msvc":
-        CFLAGS += ['-guard:cf']
-        CXXFLAGS += ['-guard:cf']
-        LDFLAGS += ['-guard:cf']
+    if CONFIG["CC_TYPE"] == "msvc":
+        CFLAGS += ["-guard:cf"]
+        CXXFLAGS += ["-guard:cf"]
+        LDFLAGS += ["-guard:cf"]
 
 # Control the default heap size.
 # This is the heap returned by GetProcessHeap().
 # As we use the CRT heap, the default size is too large and wastes VM.
 #
 # The default heap size is 1MB on Win32.
 # The heap will grow if need be.
 #
 # Set it to 256k.  See bug 127069.
-if CONFIG['OS_ARCH'] == 'WINNT' and CONFIG['CC_TYPE'] not in ('clang', 'gcc'):
-    LDFLAGS += ['/HEAP:0x40000']
+if CONFIG["OS_ARCH"] == "WINNT" and CONFIG["CC_TYPE"] not in ("clang", "gcc"):
+    LDFLAGS += ["/HEAP:0x40000"]
 
 DisableStlWrapping()
 
-if CONFIG['MOZ_LINKER']:
-    OS_LIBS += CONFIG['MOZ_ZLIB_LIBS']
+if CONFIG["MOZ_LINKER"]:
+    OS_LIBS += CONFIG["MOZ_ZLIB_LIBS"]
 
-if CONFIG['HAVE_CLOCK_MONOTONIC']:
-    OS_LIBS += CONFIG['REALTIME_LIBS']
+if CONFIG["HAVE_CLOCK_MONOTONIC"]:
+    OS_LIBS += CONFIG["REALTIME_LIBS"]
 
-if CONFIG['MOZ_LINUX_32_SSE2_STARTUP_ERROR']:
-    DEFINES['MOZ_LINUX_32_SSE2_STARTUP_ERROR'] = True
-    COMPILE_FLAGS['OS_CXXFLAGS'] = [
-        f for f in COMPILE_FLAGS.get('OS_CXXFLAGS', [])
-        if not f.startswith('-march=') and f not in ('-msse', '-msse2', '-mfpmath=sse')
+if CONFIG["MOZ_LINUX_32_SSE2_STARTUP_ERROR"]:
+    DEFINES["MOZ_LINUX_32_SSE2_STARTUP_ERROR"] = True
+    COMPILE_FLAGS["OS_CXXFLAGS"] = [
+        f
+        for f in COMPILE_FLAGS.get("OS_CXXFLAGS", [])
+        if not f.startswith("-march=") and f not in ("-msse", "-msse2", "-mfpmath=sse")
     ] + [
-        '-mno-sse', '-mno-sse2', '-mfpmath=387',
+        "-mno-sse",
+        "-mno-sse2",
+        "-mfpmath=387",
     ]
 
 # For splash.rc
-DEFINES['SEAMONKEY_ICO'] = '"%s/%s/icons/windows/main-window.ico"' % (
-    TOPSRCDIR, CONFIG['MOZ_BRANDING_DIRECTORY'])
-DEFINES['HTML_FILE_ICO'] = '"%s/%s/icons/windows/html-file.ico"' % (
-    TOPSRCDIR, CONFIG['MOZ_BRANDING_DIRECTORY'])
+DEFINES["SEAMONKEY_ICO"] = '"%s/%s/icons/windows/main-window.ico"' % (
+    TOPSRCDIR,
+    CONFIG["MOZ_BRANDING_DIRECTORY"],
+)
+DEFINES["HTML_FILE_ICO"] = '"%s/%s/icons/windows/html-file.ico"' % (
+    TOPSRCDIR,
+    CONFIG["MOZ_BRANDING_DIRECTORY"],
+)
 
-DEFINES['APP_VERSION'] = CONFIG['MOZ_APP_VERSION']
+DEFINES["APP_VERSION"] = CONFIG["MOZ_APP_VERSION"]
 
 JS_PREFERENCE_PP_FILES += [
-    'profile/suite-prefs.js',
+    "profile/suite-prefs.js",
 ]
 
-FINAL_TARGET_FILES += ['blocklist.xml']
-FINAL_TARGET_FILES.defaults += ['permissions']
-
+FINAL_TARGET_FILES += ["blocklist.xml"]
+FINAL_TARGET_FILES.defaults += ["permissions"]
--- a/suite/base/moz.build
+++ b/suite/base/moz.build
@@ -1,17 +1,17 @@
 # -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
 # vim: set filetype=python:
 # This Source Code Form is subject to the terms of the Mozilla Public
 # License, v. 2.0. If a copy of the MPL was not distributed with this
 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
 
-JAR_MANIFESTS += ['jar.mn']
+JAR_MANIFESTS += ["jar.mn"]
 
 # DEFINES for preprocessing
 
 # Use suite/base/content/overrides/app-license.html as input when generating
 # chrome://content/communicator/license.html to override
 # chrome://global/content/license.html (about:license)
-DEFINES['APP_LICENSE_BLOCK'] = '%s/content/overrides/app-license.html' % SRCDIR
+DEFINES["APP_LICENSE_BLOCK"] = "%s/content/overrides/app-license.html" % SRCDIR
 
-for var in ('MOZ_APP_NAME', 'MOZ_MACBUNDLE_NAME'):
+for var in ("MOZ_APP_NAME", "MOZ_MACBUNDLE_NAME"):
     DEFINES[var] = CONFIG[var]
--- a/suite/branding/seamonkey/content/moz.build
+++ b/suite/branding/seamonkey/content/moz.build
@@ -1,7 +1,7 @@
 # -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
 # vim: set filetype=python:
 # This Source Code Form is subject to the terms of the Mozilla Public
 # License, v. 2.0. If a copy of the MPL was not distributed with this
 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
 
-JAR_MANIFESTS += ['jar.mn']
\ No newline at end of file
+JAR_MANIFESTS += ["jar.mn"]
--- a/suite/branding/seamonkey/locales/moz.build
+++ b/suite/branding/seamonkey/locales/moz.build
@@ -1,6 +1,6 @@
 # vim: set filetype=python:
 # This Source Code Form is subject to the terms of the Mozilla Public
 # License, v. 2.0. If a copy of the MPL was not distributed with this
 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
 
-JAR_MANIFESTS += ['jar.mn']
+JAR_MANIFESTS += ["jar.mn"]
--- a/suite/branding/seamonkey/moz.build
+++ b/suite/branding/seamonkey/moz.build
@@ -1,9 +1,9 @@
 # vim: set filetype=python:
 # This Source Code Form is subject to the terms of the Mozilla Public
 # License, v. 2.0. If a copy of the MPL was not distributed with this
 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
 
-DIRS += ['content', 'locales']
+DIRS += ["content", "locales"]
 
-include('../../../suite/branding/branding-common.mozbuild')
+include("../../../suite/branding/branding-common.mozbuild")
 SeaMonkeyBranding()
--- a/suite/browser/moz.build
+++ b/suite/browser/moz.build
@@ -1,22 +1,22 @@
 # vim: set filetype=python:
 # This Source Code Form is subject to the terms of the Mozilla Public
 # License, v. 2.0. If a copy of the MPL was not distributed with this
 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
 
-BROWSER_CHROME_MANIFESTS += ['test/browser/browser.ini']
-MOCHITEST_CHROME_MANIFESTS += ['test/chrome/chrome.ini']
-MOCHITEST_MANIFESTS += ['test/mochitest/mochitest.ini']
+BROWSER_CHROME_MANIFESTS += ["test/browser/browser.ini"]
+MOCHITEST_CHROME_MANIFESTS += ["test/chrome/chrome.ini"]
+MOCHITEST_MANIFESTS += ["test/mochitest/mochitest.ini"]
 
 EXTRA_COMPONENTS += [
-    'nsBrowserContentHandler.js',
-    'nsTypeAheadFind.js',
-    'SuiteBrowser.manifest',
+    "nsBrowserContentHandler.js",
+    "nsTypeAheadFind.js",
+    "SuiteBrowser.manifest",
 ]
 
-JAR_MANIFESTS += ['jar.mn']
+JAR_MANIFESTS += ["jar.mn"]
 
-for var in ('MOZ_APP_NAME', 'MOZ_APP_DISPLAYNAME', 'MOZ_APP_VERSION'):
+for var in ("MOZ_APP_NAME", "MOZ_APP_DISPLAYNAME", "MOZ_APP_VERSION"):
     DEFINES[var] = '"%s"' % CONFIG[var]
 
-if CONFIG['MOZILLA_OFFICIAL']:
-    DEFINES['OFFICIAL_BUILD'] = 1
+if CONFIG["MOZILLA_OFFICIAL"]:
+    DEFINES["OFFICIAL_BUILD"] = 1
--- a/suite/components/autocomplete/moz.build
+++ b/suite/components/autocomplete/moz.build
@@ -1,7 +1,7 @@
 # -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
 # vim: set filetype=python:
 # This Source Code Form is subject to the terms of the Mozilla Public
 # License, v. 2.0. If a copy of the MPL was not distributed with this
 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
 
-JAR_MANIFESTS += ['jar.mn']
+JAR_MANIFESTS += ["jar.mn"]
--- a/suite/components/bindings/moz.build
+++ b/suite/components/bindings/moz.build
@@ -1,7 +1,7 @@
 # -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
 # vim: set filetype=python:
 # This Source Code Form is subject to the terms of the Mozilla Public
 # License, v. 2.0. If a copy of the MPL was not distributed with this
 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
 
-JAR_MANIFESTS += ['jar.mn']
+JAR_MANIFESTS += ["jar.mn"]
--- a/suite/components/build/moz.build
+++ b/suite/components/build/moz.build
@@ -1,23 +1,23 @@
 # -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
 # vim: set filetype=python:
 # This Source Code Form is subject to the terms of the Mozilla Public
 # License, v. 2.0. If a copy of the MPL was not distributed with this
 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
 
 EXPORTS += [
-    'nsSuiteCID.h',
+    "nsSuiteCID.h",
 ]
 
 SOURCES += [
-    'nsSuiteModule.cpp',
+    "nsSuiteModule.cpp",
 ]
 
-Library('suite')
-FINAL_LIBRARY = 'xul'
+Library("suite")
+FINAL_LIBRARY = "xul"
 
 LOCAL_INCLUDES += [
-    '../feeds',
-    '../migration/src',
-    '../profile',
-    '../shell',
+    "../feeds",
+    "../migration/src",
+    "../profile",
+    "../shell",
 ]
--- a/suite/components/console/moz.build
+++ b/suite/components/console/moz.build
@@ -1,12 +1,12 @@
 # -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
 # vim: set filetype=python:
 # This Source Code Form is subject to the terms of the Mozilla Public
 # License, v. 2.0. If a copy of the MPL was not distributed with this
 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
 
 EXTRA_COMPONENTS += [
-    'jsconsole-clhandler.js',
-    'jsconsole-clhandler.manifest',
+    "jsconsole-clhandler.js",
+    "jsconsole-clhandler.manifest",
 ]
 
-JAR_MANIFESTS += ['jar.mn']
+JAR_MANIFESTS += ["jar.mn"]
--- a/suite/components/dataman/moz.build
+++ b/suite/components/dataman/moz.build
@@ -1,11 +1,11 @@
 # -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
 # vim: set filetype=python:
 # This Source Code Form is subject to the terms of the Mozilla Public
 # License, v. 2.0. If a copy of the MPL was not distributed with this
 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
 
 BROWSER_CHROME_MANIFESTS += [
-    'tests/browser.ini',
+    "tests/browser.ini",
 ]
 
-JAR_MANIFESTS += ['jar.mn']
+JAR_MANIFESTS += ["jar.mn"]
--- a/suite/components/downloads/moz.build
+++ b/suite/components/downloads/moz.build
@@ -1,17 +1,17 @@
 # -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
 # vim: set filetype=python:
 # This Source Code Form is subject to the terms of the Mozilla Public
 # License, v. 2.0. If a copy of the MPL was not distributed with this
 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
 
-MOCHITEST_CHROME_MANIFESTS += ['tests/chrome/chrome.ini']
+MOCHITEST_CHROME_MANIFESTS += ["tests/chrome/chrome.ini"]
 
-JAR_MANIFESTS += ['jar.mn']
+JAR_MANIFESTS += ["jar.mn"]
 
 EXTRA_JS_MODULES += [
-    'DownloadsCommon.jsm',
-    'DownloadsTaskbar.jsm',
+    "DownloadsCommon.jsm",
+    "DownloadsTaskbar.jsm",
 ]
 
-with Files('**'):
-    BUG_COMPONENT = ('SeaMonkey', 'Downloads')
+with Files("**"):
+    BUG_COMPONENT = ("SeaMonkey", "Downloads")
--- a/suite/components/feeds/moz.build
+++ b/suite/components/feeds/moz.build
@@ -2,26 +2,26 @@
 # vim: set filetype=python:
 # This Source Code Form is subject to the terms of the Mozilla Public
 # License, v. 2.0. If a copy of the MPL was not distributed with this
 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
 
 # XPIDL_SOURCES += [
 #    'nsIFeedResultService.idl',
 #    'nsIWebContentConverterRegistrar.idl',
-#]
+# ]
 
 # XPIDL_MODULE = 'suite-feeds'
 
 SOURCES += [
-    'nsFeedSniffer.cpp',
+    "nsFeedSniffer.cpp",
 ]
 
 EXTRA_COMPONENTS += [
-    'FeedConverter.js',
-    'FeedWriter.js',
-    'SuiteFeeds.manifest',
-    'WebContentConverter.js',
+    "FeedConverter.js",
+    "FeedWriter.js",
+    "SuiteFeeds.manifest",
+    "WebContentConverter.js",
 ]
 
-FINAL_LIBRARY = 'suite'
+FINAL_LIBRARY = "suite"
 
-JAR_MANIFESTS += ['jar.mn']
+JAR_MANIFESTS += ["jar.mn"]
--- a/suite/components/helpviewer/moz.build
+++ b/suite/components/helpviewer/moz.build
@@ -1,7 +1,7 @@
 # -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
 # vim: set filetype=python:
 # This Source Code Form is subject to the terms of the Mozilla Public
 # License, v. 2.0. If a copy of the MPL was not distributed with this
 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
 
-JAR_MANIFESTS += ['jar.mn']
+JAR_MANIFESTS += ["jar.mn"]
--- a/suite/components/migration/moz.build
+++ b/suite/components/migration/moz.build
@@ -1,19 +1,19 @@
 # -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
 # vim: set filetype=python:
 # This Source Code Form is subject to the terms of the Mozilla Public
 # License, v. 2.0. If a copy of the MPL was not distributed with this
 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
 
 DIRS += [
-    'public',
-    'src',
+    "public",
+    "src",
 ]
 
 EXTRA_COMPONENTS += [
-    'SuiteProfileMigrator.js',
-    'SuiteProfileMigrator.manifest',
+    "SuiteProfileMigrator.js",
+    "SuiteProfileMigrator.manifest",
 ]
 
-FINAL_LIBRARY = 'suite'
+FINAL_LIBRARY = "suite"
 
-JAR_MANIFESTS += ['jar.mn']
+JAR_MANIFESTS += ["jar.mn"]
--- a/suite/components/migration/public/moz.build
+++ b/suite/components/migration/public/moz.build
@@ -1,15 +1,15 @@
 # -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
 # vim: set filetype=python:
 # This Source Code Form is subject to the terms of the Mozilla Public
 # License, v. 2.0. If a copy of the MPL was not distributed with this
 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
 
 XPIDL_SOURCES += [
-    'nsISuiteProfileMigrator.idl',
+    "nsISuiteProfileMigrator.idl",
 ]
 
-XPIDL_MODULE = 'suitemigration'
+XPIDL_MODULE = "suitemigration"
 
 EXPORTS += [
-    'nsSuiteMigrationCID.h',
+    "nsSuiteMigrationCID.h",
 ]
--- a/suite/components/migration/src/moz.build
+++ b/suite/components/migration/src/moz.build
@@ -1,13 +1,13 @@
 # -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
 # vim: set filetype=python:
 # This Source Code Form is subject to the terms of the Mozilla Public
 # License, v. 2.0. If a copy of the MPL was not distributed with this
 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
 
 SOURCES += [
-    'nsSuiteProfileMigratorBase.cpp',
-    'nsSuiteProfileMigratorUtils.cpp',
-    'nsThunderbirdProfileMigrator.cpp',
+    "nsSuiteProfileMigratorBase.cpp",
+    "nsSuiteProfileMigratorUtils.cpp",
+    "nsThunderbirdProfileMigrator.cpp",
 ]
 
-FINAL_LIBRARY = 'suite'
+FINAL_LIBRARY = "suite"
--- a/suite/components/moz.build
+++ b/suite/components/moz.build
@@ -1,50 +1,50 @@
 # -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
 # vim: set filetype=python:
 # This Source Code Form is subject to the terms of the Mozilla Public
 # License, v. 2.0. If a copy of the MPL was not distributed with this
 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
 
 DIRS += [
-    'autocomplete',
-    'bindings',
-    'console',
-    'dataman',
-    'downloads',
-    'feeds',
-    'helpviewer',
-    'migration',
-    'permissions',
-    'places',
-    'pref',
-    'profile',
-    'search',
-    'sessionstore',
-    'shell',
-    'sidebar',
+    "autocomplete",
+    "bindings",
+    "console",
+    "dataman",
+    "downloads",
+    "feeds",
+    "helpviewer",
+    "migration",
+    "permissions",
+    "places",
+    "pref",
+    "profile",
+    "search",
+    "sessionstore",
+    "shell",
+    "sidebar",
 ]
 
 # build is always last as it adds the local includes from the other components.
 DIRS += [
-    'build',
+    "build",
 ]
 
 BROWSER_CHROME_MANIFESTS += [
-    'tests/browser/browser.ini',
+    "tests/browser/browser.ini",
 ]
 
 MOCHITEST_CHROME_MANIFESTS += [
-    'tests/chrome/chrome.ini',
+    "tests/chrome/chrome.ini",
 ]
 
 XPIDL_SOURCES += [
-    'nsISuiteGlue.idl',
+    "nsISuiteGlue.idl",
 ]
 
-XPIDL_MODULE = 'suite-components'
+XPIDL_MODULE = "suite-components"
 
 EXTRA_COMPONENTS += [
-    'nsAbout.js',
-    'nsGopherProtocolStubHandler.js',
-    'nsSuiteGlue.js',
-    'SuiteComponents.manifest',
+    "nsAbout.js",
+    "nsGopherProtocolStubHandler.js",
+    "nsSuiteGlue.js",
+    "SuiteComponents.manifest",
 ]
--- a/suite/components/permissions/moz.build
+++ b/suite/components/permissions/moz.build
@@ -1,7 +1,7 @@
 # -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
 # vim: set filetype=python:
 # This Source Code Form is subject to the terms of the Mozilla Public
 # License, v. 2.0. If a copy of the MPL was not distributed with this
 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
 
-JAR_MANIFESTS += ['jar.mn']
+JAR_MANIFESTS += ["jar.mn"]
--- a/suite/components/places/moz.build
+++ b/suite/components/places/moz.build
@@ -1,28 +1,28 @@
 # -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
 # vim: set filetype=python:
 # This Source Code Form is subject to the terms of the Mozilla Public
 # License, v. 2.0. If a copy of the MPL was not distributed with this
 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
 
 XPCSHELL_TESTS_MANIFESTS += [
-    'tests/autocomplete/xpcshell.ini',
-    'tests/unit/xpcshell.ini',
+    "tests/autocomplete/xpcshell.ini",
+    "tests/unit/xpcshell.ini",
 ]
 
-MOCHITEST_CHROME_MANIFESTS += ['tests/chrome/chrome.ini']
-BROWSER_CHROME_MANIFESTS += ['tests/browser/browser.ini']
+MOCHITEST_CHROME_MANIFESTS += ["tests/chrome/chrome.ini"]
+BROWSER_CHROME_MANIFESTS += ["tests/browser/browser.ini"]
 
-JAR_MANIFESTS += ['jar.mn']
+JAR_MANIFESTS += ["jar.mn"]
 
 EXTRA_COMPONENTS += [
-    'nsPlacesAutoComplete.js',
-    'nsPlacesAutoComplete.manifest',
+    "nsPlacesAutoComplete.js",
+    "nsPlacesAutoComplete.manifest",
 ]
 
 EXTRA_JS_MODULES += [
-    'PlacesUIUtils.jsm',
+    "PlacesUIUtils.jsm",
 ]
 
 
-with Files('**'):
-    BUG_COMPONENT = ('SeaMonkey', 'Bookmarks & History')
+with Files("**"):
+    BUG_COMPONENT = ("SeaMonkey", "Bookmarks & History")
--- a/suite/components/pref/moz.build
+++ b/suite/components/pref/moz.build
@@ -1,11 +1,11 @@
 # -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
 # vim: set filetype=python:
 # This Source Code Form is subject to the terms of the Mozilla Public
 # License, v. 2.0. If a copy of the MPL was not distributed with this
 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
 
 BROWSER_CHROME_MANIFESTS += [
-    'tests/browser/browser.ini',
+    "tests/browser/browser.ini",
 ]
 
-JAR_MANIFESTS += ['jar.mn']
+JAR_MANIFESTS += ["jar.mn"]
--- a/suite/components/profile/moz.build
+++ b/suite/components/profile/moz.build
@@ -1,13 +1,13 @@
 # -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
 # vim: set filetype=python:
 # This Source Code Form is subject to the terms of the Mozilla Public
 # License, v. 2.0. If a copy of the MPL was not distributed with this
 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
 
 SOURCES += [
-    'nsSuiteDirectoryProvider.cpp',
+    "nsSuiteDirectoryProvider.cpp",
 ]
 
-FINAL_LIBRARY = 'suite'
+FINAL_LIBRARY = "suite"
 
-JAR_MANIFESTS += ['jar.mn']
+JAR_MANIFESTS += ["jar.mn"]
--- a/suite/components/search/moz.build
+++ b/suite/components/search/moz.build
@@ -1,7 +1,7 @@
 # -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
 # vim: set filetype=python:
 # This Source Code Form is subject to the terms of the Mozilla Public
 # License, v. 2.0. If a copy of the MPL was not distributed with this
 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
 
-JAR_MANIFESTS += ['jar.mn']
+JAR_MANIFESTS += ["jar.mn"]
--- a/suite/components/sessionstore/moz.build
+++ b/suite/components/sessionstore/moz.build
@@ -1,24 +1,24 @@
 # -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
 # vim: set filetype=python:
 # This Source Code Form is subject to the terms of the Mozilla Public
 # License, v. 2.0. If a copy of the MPL was not distributed with this
 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
 
 XPIDL_SOURCES += [
-    'nsISessionStartup.idl',
-    'nsISessionStore.idl',
+    "nsISessionStartup.idl",
+    "nsISessionStore.idl",
 ]
 
-XPIDL_MODULE = 'suitecommon'
+XPIDL_MODULE = "suitecommon"
 
 EXTRA_COMPONENTS += [
-    'nsSessionStartup.js',
-    'nsSessionStartup.manifest',
-    'nsSessionStore.js',
+    "nsSessionStartup.js",
+    "nsSessionStartup.manifest",
+    "nsSessionStore.js",
 ]
 
 EXTRA_JS_MODULES.sessionstore = [
-    'XPathGenerator.jsm',
+    "XPathGenerator.jsm",
 ]
 
-JAR_MANIFESTS += ['jar.mn']
+JAR_MANIFESTS += ["jar.mn"]
--- a/suite/components/shell/moz.build
+++ b/suite/components/shell/moz.build
@@ -1,48 +1,48 @@
 # -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
 # vim: set filetype=python:
 # This Source Code Form is subject to the terms of the Mozilla Public
 # License, v. 2.0. If a copy of the MPL was not distributed with this
 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
 
 XPIDL_SOURCES += [
-    'nsIShellService.idl',
+    "nsIShellService.idl",
 ]
 
-if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'cocoa':
+if CONFIG["MOZ_WIDGET_TOOLKIT"] == "cocoa":
     XPIDL_SOURCES += [
-        'nsIMacShellService.idl',
+        "nsIMacShellService.idl",
     ]
-elif CONFIG['MOZ_WIDGET_TOOLKIT'] == 'gtk':
+elif CONFIG["MOZ_WIDGET_TOOLKIT"] == "gtk":
     XPIDL_SOURCES += [
-        'nsIGNOMEShellService.idl',
+        "nsIGNOMEShellService.idl",
     ]
 
-XPIDL_MODULE = 'shellservice'
+XPIDL_MODULE = "shellservice"
 
-if CONFIG['OS_ARCH'] == 'WINNT':
+if CONFIG["OS_ARCH"] == "WINNT":
     SOURCES += [
-        'nsWindowsShellService.cpp',
+        "nsWindowsShellService.cpp",
     ]
     LOCAL_INCLUDES += [
-        '/other-licenses/nsis/Contrib/CityHash/cityhash',
+        "/other-licenses/nsis/Contrib/CityHash/cityhash",
     ]
-elif CONFIG['MOZ_WIDGET_TOOLKIT'] == 'cocoa':
-    SOURCES += ['nsMacShellService.cpp']
-elif CONFIG['MOZ_WIDGET_TOOLKIT'] == 'gtk':
-    SOURCES += ['nsGNOMEShellService.cpp']
+elif CONFIG["MOZ_WIDGET_TOOLKIT"] == "cocoa":
+    SOURCES += ["nsMacShellService.cpp"]
+elif CONFIG["MOZ_WIDGET_TOOLKIT"] == "gtk":
+    SOURCES += ["nsGNOMEShellService.cpp"]
 
 if SOURCES:
     EXTRA_COMPONENTS += [
-        'nsSetDefault.js',
-        'nsSetDefault.manifest',
+        "nsSetDefault.js",
+        "nsSetDefault.manifest",
     ]
 
 EXTRA_JS_MODULES += [
-    'ShellService.jsm',
+    "ShellService.jsm",
 ]
 
-FINAL_LIBRARY = 'suite'
+FINAL_LIBRARY = "suite"
 
-CXXFLAGS += CONFIG['TK_CFLAGS']
+CXXFLAGS += CONFIG["TK_CFLAGS"]
 
-JAR_MANIFESTS += ['jar.mn']
+JAR_MANIFESTS += ["jar.mn"]
--- a/suite/components/sidebar/moz.build
+++ b/suite/components/sidebar/moz.build
@@ -1,18 +1,18 @@
 # -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
 # vim: set filetype=python:
 # This Source Code Form is subject to the terms of the Mozilla Public
 # License, v. 2.0. If a copy of the MPL was not distributed with this
 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
 
 XPIDL_SOURCES += [
-    'nsISidebar.idl',
+    "nsISidebar.idl",
 ]
 
-XPIDL_MODULE = 'suite-sidebar'
+XPIDL_MODULE = "suite-sidebar"
 
 EXTRA_COMPONENTS += [
-    'nsSidebar.js',
-    'SuiteSidebar.manifest',
+    "nsSidebar.js",
+    "SuiteSidebar.manifest",
 ]
 
-JAR_MANIFESTS += ['jar.mn']
+JAR_MANIFESTS += ["jar.mn"]
--- a/suite/components/sync/moz.build
+++ b/suite/components/sync/moz.build
@@ -1,7 +1,7 @@
 # -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
 # vim: set filetype=python:
 # This Source Code Form is subject to the terms of the Mozilla Public
 # License, v. 2.0. If a copy of the MPL was not distributed with this
 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
 
-JAR_MANIFESTS += ['jar.mn']
+JAR_MANIFESTS += ["jar.mn"]
--- a/suite/extensions/debugQA/locales/moz.build
+++ b/suite/extensions/debugQA/locales/moz.build
@@ -1,6 +1,6 @@
 # vim: set filetype=python:
 # This Source Code Form is subject to the terms of the Mozilla Public
 # License, v. 2.0. If a copy of the MPL was not distributed with this
 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
 
-JAR_MANIFESTS += ['jar.mn']
+JAR_MANIFESTS += ["jar.mn"]
--- a/suite/extensions/debugQA/moz.build
+++ b/suite/extensions/debugQA/moz.build
@@ -1,15 +1,15 @@
 # vim: set filetype=python:
 # This Source Code Form is subject to the terms of the Mozilla Public
 # License, v. 2.0. If a copy of the MPL was not distributed with this
 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
 
-DEFINES['MOZ_APP_VERSION'] = CONFIG['MOZ_APP_VERSION']
-DEFINES['MOZ_APP_MAXVERSION'] = CONFIG['MOZ_APP_MAXVERSION']
+DEFINES["MOZ_APP_VERSION"] = CONFIG["MOZ_APP_VERSION"]
+DEFINES["MOZ_APP_MAXVERSION"] = CONFIG["MOZ_APP_MAXVERSION"]
 
-DIRS += ['locales']
+DIRS += ["locales"]
 
-FINAL_TARGET_PP_FILES.distribution.extensions['debugQA@mozilla.org'] += [
-  'install.rdf.in'
+FINAL_TARGET_PP_FILES.distribution.extensions["debugQA@mozilla.org"] += [
+    "install.rdf.in"
 ]
 
-JAR_MANIFESTS += ['jar.mn']
+JAR_MANIFESTS += ["jar.mn"]
--- a/suite/extensions/moz.build
+++ b/suite/extensions/moz.build
@@ -1,24 +1,24 @@
 # vim: set filetype=python:
 # This Source Code Form is subject to the terms of the Mozilla Public
 # License, v. 2.0. If a copy of the MPL was not distributed with this
 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
 
-if CONFIG['MOZ_DEBUGQA']:
+if CONFIG["MOZ_DEBUGQA"]:
     DIRS += [
-        'debugQA',
+        "debugQA",
     ]
 
-DIRS += ['smime']
+DIRS += ["smime"]
 
 # for later
 # if CONFIG['MOZ_IRC']:
 #     DIRS += [
 #         'irc',
 #     ]
 
 # if CONFIG['MOZ_DOMINSPECTOR']:
 #     DIRS += [
 #         'inspector',
 #     ]
 
-JAR_MANIFESTS += ['jar.mn']
+JAR_MANIFESTS += ["jar.mn"]
--- a/suite/extensions/smime/moz.build
+++ b/suite/extensions/smime/moz.build
@@ -1,6 +1,6 @@
 # vim: set filetype=python:
 # This Source Code Form is subject to the terms of the Mozilla Public
 # License, v. 2.0. If a copy of the MPL was not distributed with this
 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
 
-JAR_MANIFESTS += ['jar.mn']
+JAR_MANIFESTS += ["jar.mn"]
--- a/suite/installer/windows/moz.build
+++ b/suite/installer/windows/moz.build
@@ -1,10 +1,10 @@
 # vim: set filetype=python:
 # This Source Code Form is subject to the terms of the Mozilla Public
 # License, v. 2.0. If a copy of the MPL was not distributed with this
 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
 
-DEFINES['APP_VERSION'] = CONFIG['SEAMONKEY_VERSION']
+DEFINES["APP_VERSION"] = CONFIG["SEAMONKEY_VERSION"]
 
-DEFINES['MOZ_APP_NAME'] = CONFIG['MOZ_APP_NAME']
-DEFINES['MOZ_APP_DISPLAYNAME'] = CONFIG['MOZ_APP_DISPLAYNAME']
-DEFINES['MOZILLA_VERSION'] = CONFIG['MOZILLA_VERSION']
+DEFINES["MOZ_APP_NAME"] = CONFIG["MOZ_APP_NAME"]
+DEFINES["MOZ_APP_DISPLAYNAME"] = CONFIG["MOZ_APP_DISPLAYNAME"]
+DEFINES["MOZILLA_VERSION"] = CONFIG["MOZILLA_VERSION"]
--- a/suite/locales/filter.py
+++ b/suite/locales/filter.py
@@ -1,50 +1,73 @@
 # This Source Code Form is subject to the terms of the Mozilla Public
 # License, v. 2.0. If a copy of the MPL was not distributed with this
 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
 
+
 def test(mod, path, entity=None):
-  import re
-  # ignore anything but SeaMonkey
-  if mod not in ("netwerk", "dom", "toolkit", "security/manager",
-                 "devtools/client", "devtools/shared", "devtools/startup",
-                 "suite",
-                 "editor/ui",
-                 "extensions/spellcheck",
-                 "suite/branding/seamonkey",
-                 "services/sync"):
-    return "ignore"
-  # ignore temporary files, hiden files and files from rejects
-  if (re.match(r".*?\/[.#].+", path) or
-      re.match(r".*~$", path) or
-      re.match(r".+\.(orig|rej)", path)):
-    return "ignore"
-  if mod not in ("suite"):
-    # we only have exceptions for suite
-    return "error"
-  if entity is None:
-    # missing and obsolete files
-    return ("ignore" if (re.match(r"searchplugins\/.+\.xml", path) or
-                         path == "profile/bookmarks.extra" or
-                         path == "profile/panels.extra" or
-                         path == "defines.inc" or
-                         re.match(r"chrome\/common\/help\/images\/[A-Za-z-_]+\.[a-z]+", path))
-            else "error")
-  if path == "defines.inc":
-    return ("ignore" if (entity == "MOZ_LANGPACK_CONTRIBUTORS")
-            else "error")
+    import re
 
-  if path == "chrome/common/region.properties":
-    return ("ignore" if (re.match(r"browser\.search\.order\.[1-9]", entity))
-            else "error")
-
-  if path == "chrome/mailnews/region.properties":
-    return ("ignore" if (re.match(r"mail\.addr_book\.mapit_url\.[1-5]", entity))
-            else "error")
+    # ignore anything but SeaMonkey
+    if mod not in (
+        "netwerk",
+        "dom",
+        "toolkit",
+        "security/manager",
+        "devtools/client",
+        "devtools/shared",
+        "devtools/startup",
+        "suite",
+        "editor/ui",
+        "extensions/spellcheck",
+        "suite/branding/seamonkey",
+        "services/sync",
+    ):
+        return "ignore"
+    # ignore temporary files, hiden files and files from rejects
+    if (
+        re.match(r".*?\/[.#].+", path)
+        or re.match(r".*~$", path)
+        or re.match(r".+\.(orig|rej)", path)
+    ):
+        return "ignore"
+    if mod not in ("suite"):
+        # we only have exceptions for suite
+        return "error"
+    if entity is None:
+        # missing and obsolete files
+        return (
+            "ignore"
+            if (
+                re.match(r"searchplugins\/.+\.xml", path)
+                or path == "profile/bookmarks.extra"
+                or path == "profile/panels.extra"
+                or path == "defines.inc"
+                or re.match(r"chrome\/common\/help\/images\/[A-Za-z-_]+\.[a-z]+", path)
+            )
+            else "error"
+        )
+    if path == "defines.inc":
+        return "ignore" if (entity == "MOZ_LANGPACK_CONTRIBUTORS") else "error"
 
-  if path != "chrome/browser/region.properties":
-    # only region.properties exceptions remain, compare all others
-    return "error"
+    if path == "chrome/common/region.properties":
+        return (
+            "ignore"
+            if (re.match(r"browser\.search\.order\.[1-9]", entity))
+            else "error"
+        )
 
-  return ("ignore"
-          if (re.match(r"browser\.contentHandlers\.types\.[0-5]", entity))
-          else "error")
+    if path == "chrome/mailnews/region.properties":
+        return (
+            "ignore"
+            if (re.match(r"mail\.addr_book\.mapit_url\.[1-5]", entity))
+            else "error"
+        )
+
+    if path != "chrome/browser/region.properties":
+        # only region.properties exceptions remain, compare all others
+        return "error"
+
+    return (
+        "ignore"
+        if (re.match(r"browser\.contentHandlers\.types\.[0-5]", entity))
+        else "error"
+    )
--- a/suite/locales/moz.build
+++ b/suite/locales/moz.build
@@ -1,18 +1,18 @@
 # vim: set filetype=python:
 # This Source Code Form is subject to the terms of the Mozilla Public
 # License, v. 2.0. If a copy of the MPL was not distributed with this
 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
 
-JAR_MANIFESTS += ['jar.mn']
+JAR_MANIFESTS += ["jar.mn"]
 
 # If DIST_SUBDIR ever gets unset in browser this path might be wrong due to PREF_DIR changing.
-LOCALIZED_PP_FILES.defaults.pref += ['en-US/suite-l10n.js']
+LOCALIZED_PP_FILES.defaults.pref += ["en-US/suite-l10n.js"]
 
-if CONFIG['MOZ_CRASHREPORTER']:
-    LOCALIZED_FILES += ['en-US/crashreporter/crashreporter-override.ini']
+if CONFIG["MOZ_CRASHREPORTER"]:
+    LOCALIZED_FILES += ["en-US/crashreporter/crashreporter-override.ini"]
 
-DEFINES['MOZ_APP_MAXVERSION'] = CONFIG['MOZ_APP_MAXVERSION']
+DEFINES["MOZ_APP_MAXVERSION"] = CONFIG["MOZ_APP_MAXVERSION"]
 
 FINAL_TARGET_FILES.defaults.profile += [
-    'generic/profile/mimeTypes.rdf',
+    "generic/profile/mimeTypes.rdf",
 ]
--- a/suite/mailnews/components/addrbook/moz.build
+++ b/suite/mailnews/components/addrbook/moz.build
@@ -1,8 +1,8 @@
 # vim: set filetype=python:
 # This Source Code Form is subject to the terms of the Mozilla Public
 # License, v. 2.0. If a copy of the MPL was not distributed with this
 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
 
-JAR_MANIFESTS += ['jar.mn']
+JAR_MANIFESTS += ["jar.mn"]
 
-DEFINES['TOOLKIT_DIR'] = "%s/toolkit" % (CONFIG['moztopsrcdir'],)
+DEFINES["TOOLKIT_DIR"] = "%s/toolkit" % (CONFIG["moztopsrcdir"],)
--- a/suite/mailnews/components/compose/moz.build
+++ b/suite/mailnews/components/compose/moz.build
@@ -1,6 +1,6 @@
 # vim: set filetype=python:
 # This Source Code Form is subject to the terms of the Mozilla Public
 # License, v. 2.0. If a copy of the MPL was not distributed with this
 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
 
-JAR_MANIFESTS += ['jar.mn']
+JAR_MANIFESTS += ["jar.mn"]
--- a/suite/mailnews/components/moz.build
+++ b/suite/mailnews/components/moz.build
@@ -1,10 +1,10 @@
 # vim: set filetype=python:
 # This Source Code Form is subject to the terms of the Mozilla Public
 # License, v. 2.0. If a copy of the MPL was not distributed with this
 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
 
 DIRS += [
-    'compose',
-    'prefs',
-    'addrbook',
+    "compose",
+    "prefs",
+    "addrbook",
 ]
--- a/suite/mailnews/components/prefs/moz.build
+++ b/suite/mailnews/components/prefs/moz.build
@@ -1,6 +1,6 @@
 # vim: set filetype=python:
 # This Source Code Form is subject to the terms of the Mozilla Public
 # License, v. 2.0. If a copy of the MPL was not distributed with this
 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
 
-JAR_MANIFESTS += ['jar.mn']
+JAR_MANIFESTS += ["jar.mn"]
--- a/suite/mailnews/modules/moz.build
+++ b/suite/mailnews/modules/moz.build
@@ -1,8 +1,8 @@
 # vim: set filetype=python:
 # This Source Code Form is subject to the terms of the Mozilla Public
 # License, v. 2.0. If a copy of the MPL was not distributed with this
 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
 
 EXTRA_JS_MODULES += [
-    'MailUtils.js',
+    "MailUtils.js",
 ]
--- a/suite/mailnews/moz.build
+++ b/suite/mailnews/moz.build
@@ -1,11 +1,11 @@
 # vim: set filetype=python:
 # This Source Code Form is subject to the terms of the Mozilla Public
 # License, v. 2.0. If a copy of the MPL was not distributed with this
 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
 
-JAR_MANIFESTS += ['jar.mn']
+JAR_MANIFESTS += ["jar.mn"]
 
 DIRS += [
-    'components',
-    'modules',
+    "components",
+    "modules",
 ]
--- a/suite/modules/moz.build
+++ b/suite/modules/moz.build
@@ -1,20 +1,19 @@
 # vim: set filetype=python:
 # This Source Code Form is subject to the terms of the Mozilla Public
 # License, v. 2.0. If a copy of the MPL was not distributed with this
 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
 
-XPCSHELL_TESTS_MANIFESTS += ['test/unit/xpcshell.ini']
+XPCSHELL_TESTS_MANIFESTS += ["test/unit/xpcshell.ini"]
 
 EXTRA_JS_MODULES += [
-    'Feeds.jsm',
-    'OpenInTabsUtils.jsm',
-    'PermissionUI.jsm',
-    'RecentWindow.jsm',
-    'Sanitizer.jsm',
-    'SitePermissions.jsm',
-    'WindowsPreviewPerTab.jsm',
+    "Feeds.jsm",
+    "OpenInTabsUtils.jsm",
+    "PermissionUI.jsm",
+    "RecentWindow.jsm",
+    "Sanitizer.jsm",
+    "SitePermissions.jsm",
+    "WindowsPreviewPerTab.jsm",
 ]
 
-if CONFIG['OS_ARCH'] == 'WINNT':
-    EXTRA_JS_MODULES += ['WindowsJumpLists.jsm']
-
+if CONFIG["OS_ARCH"] == "WINNT":
+    EXTRA_JS_MODULES += ["WindowsJumpLists.jsm"]
--- a/suite/moz.build
+++ b/suite/moz.build
@@ -1,31 +1,31 @@
 # vim: set filetype=python:
 # This Source Code Form is subject to the terms of the Mozilla Public
 # License, v. 2.0. If a copy of the MPL was not distributed with this
 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
 
-CONFIGURE_SUBST_FILES += ['installer/Makefile']
+CONFIGURE_SUBST_FILES += ["installer/Makefile"]
 
 DIRS += [
-    'base',
-    'browser',
-    'components',
-    'extensions',
-    'locales',
-    'mailnews',
-    'modules',
-    'themes/classic',
-    'themes/modern',
-    'security',
-    '../common',
+    "base",
+    "browser",
+    "components",
+    "extensions",
+    "locales",
+    "mailnews",
+    "modules",
+    "themes/classic",
+    "themes/modern",
+    "security",
+    "../common",
 ]
 
-if CONFIG['MAKENSISU']:
-    DIRS += ['installer/windows']
+if CONFIG["MAKENSISU"]:
+    DIRS += ["installer/windows"]
 
-if CONFIG['MOZ_BUNDLED_FONTS']:
-    DIRS += ['/browser/fonts']
+if CONFIG["MOZ_BUNDLED_FONTS"]:
+    DIRS += ["/browser/fonts"]
 
 # app is always last as it packages up the built files on mac.
 DIRS += [
-    'app',
+    "app",
 ]
--- a/suite/moz.configure
+++ b/suite/moz.configure
@@ -1,140 +1,163 @@
 # -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
 # vim: set filetype=python:
 # This Source Code Form is subject to the terms of the Mozilla Public
 # License, v. 2.0. If a copy of the MPL was not distributed with this
 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
 
-set_config('MOZ_SUITE', True)
-set_define('MOZ_SUITE', True)
+set_config("MOZ_SUITE", True)
+set_define("MOZ_SUITE", True)
 
-imply_option('MOZ_APP_BASENAME', 'SeaMonkey')
+imply_option("MOZ_APP_BASENAME", "SeaMonkey")
+
 
 @depends(target_is_windows, target_is_linux)
 def bundled_fonts(is_windows, is_linux):
     if is_windows or is_linux:
         return True
 
-set_config('MOZ_BUNDLED_FONTS', bundled_fonts)
-add_old_configure_assignment('MOZ_BUNDLED_FONTS', bundled_fonts)
 
-@depends(check_build_environment, '--help')
+set_config("MOZ_BUNDLED_FONTS", bundled_fonts)
+add_old_configure_assignment("MOZ_BUNDLED_FONTS", bundled_fonts)
+
+
+@depends(check_build_environment, "--help")
 def comm_paths(build_env, _):
     topsrcdir = build_env.topsrcdir
     topobjdir = build_env.topobjdir
 
-    moztopsrcdir=topsrcdir
-    commtopsrcdir='%s/comm' % topsrcdir
-    mozreltopsrcdir='.'
-    commreltopsrcdir='comm'
-    commtopobjdir='%s/comm' % topobjdir
+    moztopsrcdir = topsrcdir
+    commtopsrcdir = "%s/comm" % topsrcdir
+    mozreltopsrcdir = "."
+    commreltopsrcdir = "comm"
+    commtopobjdir = "%s/comm" % topobjdir
 
-    return namespace(moztopsrcdir=moztopsrcdir,
-                     commtopsrcdir=commtopsrcdir,
-                     mozreltopsrcdir=mozreltopsrcdir,
-                     commreltopsrcdir=commreltopsrcdir,
-                     commtopobjdir=commtopobjdir)
+    return namespace(
+        moztopsrcdir=moztopsrcdir,
+        commtopsrcdir=commtopsrcdir,
+        mozreltopsrcdir=mozreltopsrcdir,
+        commreltopsrcdir=commreltopsrcdir,
+        commtopobjdir=commtopobjdir,
+    )
+
 
 @template
-def set_defconf(k,v):
-    set_config(k,v)
-    set_define(k,v)
-    add_old_configure_assignment(k,v)
+def set_defconf(k, v):
+    set_config(k, v)
+    set_define(k, v)
+    add_old_configure_assignment(k, v)
+
 
-set_defconf('moztopsrcdir', comm_paths.moztopsrcdir)
-set_defconf('commtopsrcdir', comm_paths.commtopsrcdir)
-set_defconf('mozreltopsrcdir', comm_paths.mozreltopsrcdir)
-set_defconf('commreltopsrcdir', comm_paths.commreltopsrcdir)
-set_defconf('commtopobjdir', comm_paths.commtopobjdir)
+set_defconf("moztopsrcdir", comm_paths.moztopsrcdir)
+set_defconf("commtopsrcdir", comm_paths.commtopsrcdir)
+set_defconf("mozreltopsrcdir", comm_paths.mozreltopsrcdir)
+set_defconf("commreltopsrcdir", comm_paths.commreltopsrcdir)
+set_defconf("commtopobjdir", comm_paths.commtopobjdir)
 
 
 @depends(check_build_environment, application)
-@imports(_from='os.path', _import='exists')
-@imports(_from='__builtin__', _import='open')
+@imports(_from="os.path", _import="exists")
+@imports(_from="__builtin__", _import="open")
 def seamonkey_version(build_env, app_path):
-    version_file = os.path.join(build_env.topsrcdir, app_path[0],
-                                'config', 'version.txt')
-    version_file_display = os.path.join(build_env.topsrcdir, app_path[0],
-                                'config', 'version_display.txt')
+    version_file = os.path.join(
+        build_env.topsrcdir, app_path[0], "config", "version.txt"
+    )
+    version_file_display = os.path.join(
+        build_env.topsrcdir, app_path[0], "config", "version_display.txt"
+    )
     rv = []
-    for f in [ version_file, version_file_display ]:
+    for f in [version_file, version_file_display]:
         if exists(f):
             f_value = open(f).read().strip()
         else:
-            f_value = 'unknown'
+            f_value = "unknown"
         rv.append(f_value)
 
-    return namespace(version=rv[0],
-                     version_display=rv[1])
+    return namespace(version=rv[0], version_display=rv[1])
+
 
-set_defconf('SEAMONKEY_VERSION', seamonkey_version.version)
-set_defconf('SEAMONKEY_VERSION_DISPLAY', seamonkey_version.version_display)
+set_defconf("SEAMONKEY_VERSION", seamonkey_version.version)
+set_defconf("SEAMONKEY_VERSION_DISPLAY", seamonkey_version.version_display)
+
 
 @depends(check_build_environment)
-@imports(_from='os.path', _import='exists')
-@imports(_from='__builtin__', _import='open')
+@imports(_from="os.path", _import="exists")
+@imports(_from="__builtin__", _import="open")
 def thunderbird_version(build_env):
-    version_file = os.path.join(build_env.topsrcdir, 'comm/mail',
-                                'config', 'version.txt')
-    version_file_display = os.path.join(build_env.topsrcdir, 'comm/mail',
-                                'config', 'version_display.txt')
+    version_file = os.path.join(
+        build_env.topsrcdir, "comm/mail", "config", "version.txt"
+    )
+    version_file_display = os.path.join(
+        build_env.topsrcdir, "comm/mail", "config", "version_display.txt"
+    )
     rv = []
-    for f in [ version_file, version_file_display ]:
+    for f in [version_file, version_file_display]:
         if exists(f):
             f_value = open(f).read().strip()
         else:
-            f_value = 'unknown'
+            f_value = "unknown"
         rv.append(f_value)
 
-    return namespace(version=rv[0],
-                     version_display=rv[1])
+    return namespace(version=rv[0], version_display=rv[1])
+
 
-set_defconf('THUNDERBIRD_VERSION', thunderbird_version.version)
-set_defconf('THUNDERBIRD_VERSION_DISPLAY', thunderbird_version.version_display)
+set_defconf("THUNDERBIRD_VERSION", thunderbird_version.version)
+set_defconf("THUNDERBIRD_VERSION_DISPLAY", thunderbird_version.version_display)
 
-set_define('MOZ_SEPARATE_MANIFEST_FOR_THEME_OVERRIDES', True)
+set_define("MOZ_SEPARATE_MANIFEST_FOR_THEME_OVERRIDES", True)
 
-imply_option('MOZ_PLACES', True)
-imply_option('MOZ_SERVICES_SYNC', False)
+imply_option("MOZ_PLACES", True)
+imply_option("MOZ_SERVICES_SYNC", False)
 
 # Building extensions is disabled by default.
 # Bug 1231349 needs to be fixed first for l10n builds.
 # Set desired defaults to True from False when the l10n bug is fixed.
 
 # =========================================================
 # = ChatZilla extension
 # =========================================================
-option('--enable-irc', default=False,
-       help='Enable building of the ChatZilla IRC extension')
+option(
+    "--enable-irc", default=False, help="Enable building of the ChatZilla IRC extension"
+)
 
-@depends_if('--enable-irc')
+
+@depends_if("--enable-irc")
 def irc(arg):
     return True
 
-set_config('MOZ_IRC', irc)
+
+set_config("MOZ_IRC", irc)
 
 # =========================================================
 # = DOM Inspector extension
 # =========================================================
-option('--enable-dominspector', default=False,
-       help='Enable building of the DOM Inspector extension')
+option(
+    "--enable-dominspector",
+    default=False,
+    help="Enable building of the DOM Inspector extension",
+)
 
-@depends_if('--enable-dominspector')
+
+@depends_if("--enable-dominspector")
 def dominspector(arg):
     return True
 
-set_config('MOZ_DOMINSPECTOR', dominspector)
+
+set_config("MOZ_DOMINSPECTOR", dominspector)
 
 # =========================================================
 # = DebugQA extension
 # =========================================================
-option('--enable-debugqa', default=False,
-       help='Enable building of the DebugQA extension')
+option(
+    "--enable-debugqa", default=False, help="Enable building of the DebugQA extension"
+)
 
-@depends_if('--enable-debugqa')
+
+@depends_if("--enable-debugqa")
 def debugqa(arg):
     return True
 
-set_config('MOZ_DEBUGQA', debugqa)
+
+set_config("MOZ_DEBUGQA", debugqa)
 
-include('../mailnews/moz.configure')
-include('../../toolkit/moz.configure')
+include("../mailnews/moz.configure")
+include("../../toolkit/moz.configure")
--- a/suite/security/moz.build
+++ b/suite/security/moz.build
@@ -1,6 +1,6 @@
 # vim: set filetype=python:
 # This Source Code Form is subject to the terms of the Mozilla Public
 # License, v. 2.0. If a copy of the MPL was not distributed with this
 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
 
-JAR_MANIFESTS += ['jar.mn']
+JAR_MANIFESTS += ["jar.mn"]
--- a/suite/themes/classic/moz.build
+++ b/suite/themes/classic/moz.build
@@ -1,15 +1,15 @@
 # vim: set filetype=python:
 # This Source Code Form is subject to the terms of the Mozilla Public
 # License, v. 2.0. If a copy of the MPL was not distributed with this
 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
 
-JAR_MANIFESTS += ['jar.mn']
+JAR_MANIFESTS += ["jar.mn"]
 
-classic_extension_dir = '{972ce4c6-7e08-4474-a285-3208198ce6fd}'
+classic_extension_dir = "{972ce4c6-7e08-4474-a285-3208198ce6fd}"
 
-DEFINES['SEAMONKEY_VERSION'] = CONFIG['SEAMONKEY_VERSION']
+DEFINES["SEAMONKEY_VERSION"] = CONFIG["SEAMONKEY_VERSION"]
 
 FINAL_TARGET_FILES.extensions[classic_extension_dir] += [
-    'icon.png',
-    'preview.png',
+    "icon.png",
+    "preview.png",
 ]
--- a/suite/themes/modern/moz.build
+++ b/suite/themes/modern/moz.build
@@ -1,19 +1,19 @@
 # vim: set filetype=python:
 # This Source Code Form is subject to the terms of the Mozilla Public
 # License, v. 2.0. If a copy of the MPL was not distributed with this
 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
 
-FINAL_TARGET_PP_FILES += ['install.rdf']
+FINAL_TARGET_PP_FILES += ["install.rdf"]
 
-DIST_SUBDIR = 'extensions/modern@themes.mozilla.org'
+DIST_SUBDIR = "extensions/modern@themes.mozilla.org"
 
-JAR_MANIFESTS += ['jar.mn']
+JAR_MANIFESTS += ["jar.mn"]
 
 USE_EXTENSION_MANIFEST = True
 
-DEFINES['SEAMONKEY_VERSION'] = CONFIG['SEAMONKEY_VERSION']
+DEFINES["SEAMONKEY_VERSION"] = CONFIG["SEAMONKEY_VERSION"]
 
 FINAL_TARGET_FILES += [
-    'icon.png',
-    'preview.png',
+    "icon.png",
+    "preview.png",
 ]