From b5d2c30d26060d4a55c88c1a665b6e9d95ba1644 Mon Sep 17 00:00:00 2001 From: Todd Gamblin Date: Sun, 4 Jul 2021 01:51:46 -0700 Subject: 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 --- lib/spack/spack/cmd/style.py | 4 ---- 1 file changed, 4 deletions(-) (limited to 'lib') 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 -- cgit v1.2.3-70-g09d2