summaryrefslogtreecommitdiff
path: root/.isort.cfg
diff options
context:
space:
mode:
authorDanny McClanahan <1305167+cosmicexplorer@users.noreply.github.com>2021-06-01 11:30:41 -0700
committerTodd Gamblin <tgamblin@llnl.gov>2021-07-07 17:27:31 -0700
commit7a9fe189e1df6aa50e6b89109f6e8464a1cd6fdf (patch)
treeb5904d5224193d5296115d988aff50197c73b797 /.isort.cfg
parentf5c1ae32d1ce347162920f63d18da492a432ef39 (diff)
downloadspack-7a9fe189e1df6aa50e6b89109f6e8464a1cd6fdf.tar.gz
spack-7a9fe189e1df6aa50e6b89109f6e8464a1cd6fdf.tar.bz2
spack-7a9fe189e1df6aa50e6b89109f6e8464a1cd6fdf.tar.xz
spack-7a9fe189e1df6aa50e6b89109f6e8464a1cd6fdf.zip
style: add support for `isort` and `--fix`
Diffstat (limited to '.isort.cfg')
-rw-r--r--.isort.cfg11
1 files changed, 11 insertions, 0 deletions
diff --git a/.isort.cfg b/.isort.cfg
new file mode 100644
index 0000000000..e787561d14
--- /dev/null
+++ b/.isort.cfg
@@ -0,0 +1,11 @@
+[settings]
+profile=black
+sections=FUTURE,STDLIB,THIRDPARTY,ARCHSPEC,LLNL,FIRSTPARTY,LOCALFOLDER
+src_paths=lib
+force_sort_within_sections=True
+line_length=79
+known_first_party=spack
+known_archspec=archspec
+known_llnl=llnl
+honor_noqa=True
+use_parentheses=True