summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
Diffstat (limited to 'share')
-rwxr-xr-xshare/spack/qa/run-style-tests2
-rwxr-xr-xshare/spack/spack-completion.bash4
2 files changed, 3 insertions, 3 deletions
diff --git a/share/spack/qa/run-style-tests b/share/spack/qa/run-style-tests
index 23d756a3bc..4eb503dae2 100755
--- a/share/spack/qa/run-style-tests
+++ b/share/spack/qa/run-style-tests
@@ -18,7 +18,7 @@
check_dependencies flake8 mypy
# verify that the code style is correct
-spack style
+spack style --root-relative
# verify that the license headers are present
spack license verify
diff --git a/share/spack/spack-completion.bash b/share/spack/spack-completion.bash
index 08a4c999c9..cd5a01c42d 100755
--- a/share/spack/spack-completion.bash
+++ b/share/spack/spack-completion.bash
@@ -978,7 +978,7 @@ _spack_find() {
_spack_flake8() {
if $list_options
then
- SPACK_COMPREPLY="-h --help -b --base -a --all -o --output -r --root-relative -U --no-untracked --no-flake8 --no-mypy --black"
+ SPACK_COMPREPLY="-h --help -b --base -a --all -r --root-relative -U --no-untracked -f --fix --no-isort --no-flake8 --no-mypy --black"
else
SPACK_COMPREPLY=""
fi
@@ -1584,7 +1584,7 @@ _spack_stage() {
_spack_style() {
if $list_options
then
- SPACK_COMPREPLY="-h --help -b --base -a --all -o --output -r --root-relative -U --no-untracked --no-flake8 --no-mypy --black"
+ SPACK_COMPREPLY="-h --help -b --base -a --all -r --root-relative -U --no-untracked -f --fix --no-isort --no-flake8 --no-mypy --black"
else
SPACK_COMPREPLY=""
fi