summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorAdam J. Stewart <ajstewart426@gmail.com>2021-06-28 08:03:20 -0500
committerGitHub <noreply@github.com>2021-06-28 08:03:20 -0500
commit2284007db95af06b694c35492d20a918508bdb2f (patch)
treef44b63f2197141c03dbff3a2c26e13d0840ea8c3 /lib
parent744cedc7e999f96aa0646bb43c039882991228ae (diff)
downloadspack-2284007db95af06b694c35492d20a918508bdb2f.tar.gz
spack-2284007db95af06b694c35492d20a918508bdb2f.tar.bz2
spack-2284007db95af06b694c35492d20a918508bdb2f.tar.xz
spack-2284007db95af06b694c35492d20a918508bdb2f.zip
Use flake8-import-order to enforce PEP-8 compliance (#23947)
Diffstat (limited to 'lib')
-rw-r--r--lib/spack/spack/package.py18
1 files changed, 9 insertions, 9 deletions
diff --git a/lib/spack/spack/package.py b/lib/spack/spack/package.py
index 7db7f76589..bf37018c4d 100644
--- a/lib/spack/spack/package.py
+++ b/lib/spack/spack/package.py
@@ -8,8 +8,8 @@
The spack package class structure is based strongly on Homebrew
(http://brew.sh/), mainly because Homebrew makes it very easy to create
packages.
-
"""
+
import base64
import collections
import contextlib
@@ -25,13 +25,14 @@ import sys
import textwrap
import time
import traceback
-import six
import types
-from typing import Optional, List, Dict, Any, Callable # novm
+from typing import Any, Callable, Dict, List, Optional # novm
+
+import six
+from ordereddict_backport import OrderedDict
import llnl.util.filesystem as fsys
import llnl.util.tty as tty
-
import spack.compilers
import spack.config
import spack.dependency
@@ -51,14 +52,13 @@ import spack.util.environment
import spack.util.web
from llnl.util.lang import memoized
from llnl.util.link_tree import LinkTree
-from ordereddict_backport import OrderedDict
from spack.filesystem_view import YamlFilesystemView
-from spack.installer import PackageInstaller, InstallError
from spack.install_test import TestFailure, TestSuite
-from spack.util.executable import which, ProcessError
-from spack.util.prefix import Prefix
-from spack.stage import stage_prefix, Stage, ResourceStage, StageComposite
+from spack.installer import InstallError, PackageInstaller
+from spack.stage import ResourceStage, Stage, StageComposite, stage_prefix
+from spack.util.executable import ProcessError, which
from spack.util.package_hash import package_hash
+from spack.util.prefix import Prefix
from spack.version import Version
"""Allowed URL schemes for spack packages."""