summaryrefslogtreecommitdiff
path: root/share/spack/qa/run-flake8-tests
diff options
context:
space:
mode:
Diffstat (limited to 'share/spack/qa/run-flake8-tests')
-rwxr-xr-xshare/spack/qa/run-flake8-tests10
1 files changed, 10 insertions, 0 deletions
diff --git a/share/spack/qa/run-flake8-tests b/share/spack/qa/run-flake8-tests
index 29fc15f9d7..f98cdb919c 100755
--- a/share/spack/qa/run-flake8-tests
+++ b/share/spack/qa/run-flake8-tests
@@ -1,5 +1,11 @@
#!/bin/bash -e
#
+# Copyright 2013-2018 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+#
# Description:
# Runs source code style checks on Spack.
# See $SPACK_ROOT/.flake8 for a list of
@@ -11,4 +17,8 @@
. "$(dirname $0)/setup.sh"
check_dependencies flake8
+# verify that the code style is correct
spack flake8
+
+# verify that the license headers are present
+spack license verify