summaryrefslogtreecommitdiff
path: root/.flake8
diff options
context:
space:
mode:
authorAdam J. Stewart <ajstewart426@gmail.com>2021-06-28 08:03:20 -0500
committerGitHub <noreply@github.com>2021-06-28 08:03:20 -0500
commit2284007db95af06b694c35492d20a918508bdb2f (patch)
treef44b63f2197141c03dbff3a2c26e13d0840ea8c3 /.flake8
parent744cedc7e999f96aa0646bb43c039882991228ae (diff)
downloadspack-2284007db95af06b694c35492d20a918508bdb2f.tar.gz
spack-2284007db95af06b694c35492d20a918508bdb2f.tar.bz2
spack-2284007db95af06b694c35492d20a918508bdb2f.tar.xz
spack-2284007db95af06b694c35492d20a918508bdb2f.zip
Use flake8-import-order to enforce PEP-8 compliance (#23947)
Diffstat (limited to '.flake8')
-rw-r--r--.flake84
1 files changed, 4 insertions, 0 deletions
diff --git a/.flake8 b/.flake8
index a4c8aa2fbc..d916433cfe 100644
--- a/.flake8
+++ b/.flake8
@@ -66,6 +66,10 @@ exclude =
format = spack
+# flake8-import-order settings
+application-import-names = llnl,spack
+import-order-style = pycharm
+
[flake8:local-plugins]
report =
spack = flake8_formatter:SpackFormatter