summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorTodd Gamblin <tgamblin@llnl.gov>2021-07-04 01:51:46 -0700
committerTodd Gamblin <tgamblin@llnl.gov>2021-07-07 17:27:31 -0700
commitb5d2c30d26060d4a55c88c1a665b6e9d95ba1644 (patch)
tree55c1249ddb07cdaed62a4276bb8549ceebecfce8 /lib
parent7a9fe189e1df6aa50e6b89109f6e8464a1cd6fdf (diff)
downloadspack-b5d2c30d26060d4a55c88c1a665b6e9d95ba1644.tar.gz
spack-b5d2c30d26060d4a55c88c1a665b6e9d95ba1644.tar.bz2
spack-b5d2c30d26060d4a55c88c1a665b6e9d95ba1644.tar.xz
spack-b5d2c30d26060d4a55c88c1a665b6e9d95ba1644.zip
style: Move isort configuration to pyproject.toml
- [x] Remove flake8-import-order checks, as we only need isort for this - [x] Clean up configuration and requirements
Diffstat (limited to 'lib')
-rw-r--r--lib/spack/spack/cmd/style.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/spack/spack/cmd/style.py b/lib/spack/spack/cmd/style.py
index 1f15db7b8d..23fc3e37ae 100644
--- a/lib/spack/spack/cmd/style.py
+++ b/lib/spack/spack/cmd/style.py
@@ -219,10 +219,6 @@ def run_flake8(file_list, args):
print_tool_header("flake8")
flake8_cmd = which("flake8", required=True)
- # Check if plugins are installed
- if "import-order" not in flake8_cmd("--version", output=str, error=str):
- tty.warn("style: flake8-import-order plugin is not installed, skipping")
-
output = ""
# run in chunks of 100 at a time to avoid line length limit
# filename parameter in config *does not work* for this reliably