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 --- pyproject.toml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 pyproject.toml (limited to 'pyproject.toml') diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000000..fc8dd4e428 --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,14 @@ +[tool.isort] +profile = "black" +sections = [ + "FUTURE", + "STDLIB", + "THIRDPARTY", + "ARCHSPEC", "LLNL", "FIRSTPARTY", + "LOCALFOLDER", +] +known_first_party = "spack" +known_archspec = "archspec" +known_llnl = "llnl" +src_paths = "lib" +honor_noqa = true -- cgit v1.2.3-60-g2f50