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
This commit is contained in:
Todd Gamblin
2021-07-04 01:51:46 -07:00
parent 7a9fe189e1
commit b5d2c30d26
5 changed files with 16 additions and 21 deletions

14
pyproject.toml Normal file
View File

@@ -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