Bug 1790816 - Reformat client.py and configure.py with isort. r=linter-reviewers,sylvestre DONTBUILD
# ignore-this-changeset Differential Revision: https://phabricator.services.mozilla.com/D162671
This commit is contained in:
@@ -7,10 +7,10 @@ from __future__ import absolute_import, print_function
|
|||||||
|
|
||||||
HG_EXCLUSIONS = [".hg", ".hgignore", ".hgtags"]
|
HG_EXCLUSIONS = [".hg", ".hgignore", ".hgtags"]
|
||||||
|
|
||||||
import os
|
|
||||||
import sys
|
|
||||||
import shutil
|
|
||||||
import glob
|
import glob
|
||||||
|
import os
|
||||||
|
import shutil
|
||||||
|
import sys
|
||||||
from optparse import OptionParser
|
from optparse import OptionParser
|
||||||
from subprocess import check_call
|
from subprocess import check_call
|
||||||
|
|
||||||
|
|||||||
14
configure.py
14
configure.py
@@ -12,7 +12,6 @@ import logging
|
|||||||
import os
|
import os
|
||||||
import sys
|
import sys
|
||||||
import textwrap
|
import textwrap
|
||||||
|
|
||||||
from collections.abc import Iterable
|
from collections.abc import Iterable
|
||||||
|
|
||||||
base_dir = os.path.abspath(os.path.dirname(__file__))
|
base_dir = os.path.abspath(os.path.dirname(__file__))
|
||||||
@@ -23,6 +22,9 @@ sys.path.insert(0, os.path.join(base_dir, "third_party", "python", "packaging"))
|
|||||||
sys.path.insert(0, os.path.join(base_dir, "third_party", "python", "pyparsing"))
|
sys.path.insert(0, os.path.join(base_dir, "third_party", "python", "pyparsing"))
|
||||||
sys.path.insert(0, os.path.join(base_dir, "third_party", "python", "six"))
|
sys.path.insert(0, os.path.join(base_dir, "third_party", "python", "six"))
|
||||||
sys.path.insert(0, os.path.join(base_dir, "third_party", "python", "looseversion"))
|
sys.path.insert(0, os.path.join(base_dir, "third_party", "python", "looseversion"))
|
||||||
|
import mozpack.path as mozpath
|
||||||
|
import six
|
||||||
|
from mach.requirements import MachEnvRequirements
|
||||||
from mach.site import (
|
from mach.site import (
|
||||||
CommandSiteManager,
|
CommandSiteManager,
|
||||||
ExternalPythonSite,
|
ExternalPythonSite,
|
||||||
@@ -30,16 +32,10 @@ from mach.site import (
|
|||||||
MozSiteMetadata,
|
MozSiteMetadata,
|
||||||
SitePackagesSource,
|
SitePackagesSource,
|
||||||
)
|
)
|
||||||
from mach.requirements import MachEnvRequirements
|
|
||||||
from mozbuild.configure import (
|
|
||||||
ConfigureSandbox,
|
|
||||||
TRACE,
|
|
||||||
)
|
|
||||||
from mozbuild.pythonutil import iter_modules_in_path
|
|
||||||
from mozbuild.backend.configenvironment import PartialConfigEnvironment
|
from mozbuild.backend.configenvironment import PartialConfigEnvironment
|
||||||
|
from mozbuild.configure import TRACE, ConfigureSandbox
|
||||||
|
from mozbuild.pythonutil import iter_modules_in_path
|
||||||
from mozbuild.util import write_indented_repr
|
from mozbuild.util import write_indented_repr
|
||||||
import mozpack.path as mozpath
|
|
||||||
import six
|
|
||||||
|
|
||||||
|
|
||||||
def main(argv):
|
def main(argv):
|
||||||
|
|||||||
Reference in New Issue
Block a user