mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-24 13:21:05 +00:00
Bug 1790816 - Reformat browser/ with isort. r=linter-reviewers,search-reviewers,Standard8 DONTBUILD
# ignore-this-changeset Differential Revision: https://phabricator.services.mozilla.com/D162667
This commit is contained in:
parent
2d8a5d819f
commit
6d04d33abd
@ -4,10 +4,11 @@
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
from __future__ import absolute_import, print_function, unicode_literals
|
||||
|
||||
import io
|
||||
from optparse import OptionParser
|
||||
import sys
|
||||
import re
|
||||
import sys
|
||||
from optparse import OptionParser
|
||||
|
||||
o = OptionParser()
|
||||
o.add_option("--buildid", dest="buildid")
|
||||
|
@ -1,9 +1,10 @@
|
||||
from __future__ import absolute_import, print_function
|
||||
|
||||
import os
|
||||
import time
|
||||
|
||||
from marionette_harness import MarionetteTestCase
|
||||
from marionette_driver.errors import NoAlertPresentException
|
||||
from marionette_harness import MarionetteTestCase
|
||||
|
||||
|
||||
# Holds info about things we need to cleanup after the tests are done.
|
||||
|
@ -4,6 +4,7 @@
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
from __future__ import absolute_import
|
||||
|
||||
import textwrap
|
||||
|
||||
from marionette_harness.marionette_test import MarionetteTestCase
|
||||
|
@ -6,7 +6,7 @@ from __future__ import absolute_import
|
||||
|
||||
from urllib.parse import quote
|
||||
|
||||
from marionette_driver import errors, Wait
|
||||
from marionette_driver import Wait, errors
|
||||
from marionette_driver.keys import Keys
|
||||
from marionette_harness import MarionetteTestCase, WindowManagerMixin
|
||||
|
||||
@ -245,8 +245,8 @@ class SessionStoreTestCase(WindowManagerMixin, MarionetteTestCase):
|
||||
:raises: WindowsError: if a Windows API call fails
|
||||
"""
|
||||
import ctypes
|
||||
from ctypes import Structure, POINTER, WINFUNCTYPE, windll, pointer, WinError
|
||||
from ctypes.wintypes import HANDLE, DWORD, BOOL, WCHAR, UINT, ULONG, LPCWSTR
|
||||
from ctypes import POINTER, WINFUNCTYPE, Structure, WinError, pointer, windll
|
||||
from ctypes.wintypes import BOOL, DWORD, HANDLE, LPCWSTR, UINT, ULONG, WCHAR
|
||||
|
||||
# set up Windows SDK types
|
||||
OpenProcess = windll.kernel32.OpenProcess
|
||||
|
@ -4,8 +4,9 @@
|
||||
|
||||
# add this directory to the path
|
||||
from __future__ import absolute_import
|
||||
import sys
|
||||
|
||||
import os
|
||||
import sys
|
||||
|
||||
sys.path.append(os.path.dirname(__file__))
|
||||
|
||||
|
@ -4,8 +4,9 @@
|
||||
|
||||
# add this directory to the path
|
||||
from __future__ import absolute_import
|
||||
import sys
|
||||
|
||||
import os
|
||||
import sys
|
||||
|
||||
sys.path.append(os.path.dirname(__file__))
|
||||
|
||||
|
@ -4,8 +4,9 @@
|
||||
|
||||
# add this directory to the path
|
||||
from __future__ import absolute_import
|
||||
import sys
|
||||
|
||||
import os
|
||||
import sys
|
||||
|
||||
sys.path.append(os.path.dirname(__file__))
|
||||
|
||||
|
@ -15,8 +15,12 @@ paths by default when using macOS's /usr/bin/python.
|
||||
Includes generous amount of logging to aid debugging for use in automated tests.
|
||||
"""
|
||||
|
||||
from __future__ import absolute_import
|
||||
from __future__ import print_function
|
||||
from __future__ import absolute_import, print_function
|
||||
|
||||
import argparse
|
||||
import logging
|
||||
import os
|
||||
import sys
|
||||
|
||||
#
|
||||
# These Objective-C bindings imports are included in the import path by default
|
||||
@ -27,11 +31,6 @@ from __future__ import print_function
|
||||
from AppKit import NSScreen, NSWorkspace
|
||||
from Cocoa import NSURL
|
||||
|
||||
import argparse
|
||||
import logging
|
||||
import os
|
||||
import sys
|
||||
|
||||
|
||||
def main():
|
||||
parser = argparse.ArgumentParser(
|
||||
|
@ -5,13 +5,14 @@
|
||||
# Generate updater.ini by doing some light substitution on the localized updater.ini input,
|
||||
# and appending the contents of updater_ini_append on Windows.
|
||||
|
||||
from __future__ import absolute_import, unicode_literals, print_function
|
||||
from __future__ import absolute_import, print_function, unicode_literals
|
||||
|
||||
import buildconfig
|
||||
import codecs
|
||||
import re
|
||||
import shutil
|
||||
|
||||
import buildconfig
|
||||
|
||||
|
||||
def main(output, ini, ini_append=None, locale=None):
|
||||
fixup_re = re.compile("^(Info|Title)Text=")
|
||||
|
Loading…
Reference in New Issue
Block a user