summaryrefslogtreecommitdiff
path: root/bin/spack
diff options
context:
space:
mode:
Diffstat (limited to 'bin/spack')
-rwxr-xr-xbin/spack4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/spack b/bin/spack
index 45f84242fa..537a6a150e 100755
--- a/bin/spack
+++ b/bin/spack
@@ -82,7 +82,7 @@ except ImportError:
raise
try:
os.remove(argparse_pyc)
- import argparse # noqa
+ import argparse # noqa: F401
except Exception:
msg = ('The file\n\n\t{0}\n\nis corrupted and cannot be deleted by Spack. '
'Either delete it manually or ask some administrator to '
@@ -91,7 +91,7 @@ except ImportError:
sys.exit(1)
-import spack.main # noqa
+import spack.main # noqa: E402
# Once we've set up the system path, run the spack main method
if __name__ == "__main__":