summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorMassimiliano Culpo <massimiliano.culpo@gmail.com>2021-11-24 23:20:11 +0100
committerGitHub <noreply@github.com>2021-11-24 14:20:11 -0800
commit270ba1096285032e33c62fa20236e7ae0bd3120c (patch)
tree88e313c573754aa0d780fbc0142ad427fd5afbb5 /share
parentf8025d4f880c4f183cb9ca9a85ad69613a0936e9 (diff)
downloadspack-270ba1096285032e33c62fa20236e7ae0bd3120c.tar.gz
spack-270ba1096285032e33c62fa20236e7ae0bd3120c.tar.bz2
spack-270ba1096285032e33c62fa20236e7ae0bd3120c.tar.xz
spack-270ba1096285032e33c62fa20236e7ae0bd3120c.zip
spack flake8: remove deprecated command (#27290)
The "spack flake8" command wwas deprecated in favor of "spack style". The deprecation wwarning is in the 0.17.X series, so removing it for v0.18.x
Diffstat (limited to 'share')
-rwxr-xr-xshare/spack/spack-completion.bash11
1 files changed, 1 insertions, 10 deletions
diff --git a/share/spack/spack-completion.bash b/share/spack/spack-completion.bash
index b0d9d70f3f..457fc24374 100755
--- a/share/spack/spack-completion.bash
+++ b/share/spack/spack-completion.bash
@@ -337,7 +337,7 @@ _spack() {
then
SPACK_COMPREPLY="-h --help -H --all-help --color -c --config -C --config-scope -d --debug --timestamp --pdb -e --env -D --env-dir -E --no-env --use-env-repo -k --insecure -l --enable-locks -L --disable-locks -m --mock -p --profile --sorted-profile --lines -v --verbose --stacktrace -V --version --print-shell-vars"
else
- SPACK_COMPREPLY="activate add analyze arch audit blame bootstrap build-env buildcache cd checksum ci clean clone commands compiler compilers concretize config containerize create deactivate debug dependencies dependents deprecate dev-build develop diff docs edit env extensions external fetch find flake8 gc gpg graph help info install license list load location log-parse maintainers mark mirror module monitor patch pkg providers pydoc python reindex remove rm repo resource restage solve spec stage style tags test test-env tutorial undevelop uninstall unit-test unload url verify versions view"
+ SPACK_COMPREPLY="activate add analyze arch audit blame bootstrap build-env buildcache cd checksum ci clean clone commands compiler compilers concretize config containerize create deactivate debug dependencies dependents deprecate dev-build develop diff docs edit env extensions external fetch find gc gpg graph help info install license list load location log-parse maintainers mark mirror module monitor patch pkg providers pydoc python reindex remove rm repo resource restage solve spec stage style tags test test-env tutorial undevelop uninstall unit-test unload url verify versions view"
fi
}
@@ -1048,15 +1048,6 @@ _spack_find() {
fi
}
-_spack_flake8() {
- if $list_options
- then
- SPACK_COMPREPLY="-h --help -b --base -a --all -r --root-relative -U --no-untracked -f --fix --no-isort --no-flake8 --no-mypy --black --root"
- else
- SPACK_COMPREPLY=""
- fi
-}
-
_spack_gc() {
SPACK_COMPREPLY="-h --help -y --yes-to-all"
}