summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorvsoch <vsoch@users.noreply.github.com>2021-07-09 21:32:38 -0600
committerTodd Gamblin <tgamblin@llnl.gov>2021-07-24 07:07:35 -0700
commit4208cf66bea84c8c00c28dbd495c85087be3e49c (patch)
treefe3a93f9efc97870f216394ce13699bb4d0fd8cf /share
parenta30e6c61582b55ec4cff1d9d885a0acec9a0ec3c (diff)
downloadspack-4208cf66bea84c8c00c28dbd495c85087be3e49c.tar.gz
spack-4208cf66bea84c8c00c28dbd495c85087be3e49c.tar.bz2
spack-4208cf66bea84c8c00c28dbd495c85087be3e49c.tar.xz
spack-4208cf66bea84c8c00c28dbd495c85087be3e49c.zip
`spack style`: automatically bootstrap dependencies
This uses our bootstrapping logic to automatically install dependencies for `spack style`. Users should no longer have to pre-install all of the tools (`isort`, `mypy`, `black`, `flake8`). The command will do it for them. - [x] add logic to bootstrap specs with specific version requirements in `spack style` - [x] remove style tools from CI requirements (to ensure we test bootstrapping) - [x] rework dependencies for `mypy` and `py-typed-ast` - `py-typed-ast` needs to be a link dependency - it needs to be at 1.4.1 or higher to work with python 3.9 Signed-off-by: vsoch <vsoch@users.noreply.github.com>
Diffstat (limited to 'share')
-rwxr-xr-xshare/spack/qa/run-style-tests1
1 files changed, 0 insertions, 1 deletions
diff --git a/share/spack/qa/run-style-tests b/share/spack/qa/run-style-tests
index 4eb503dae2..86abeeeac1 100755
--- a/share/spack/qa/run-style-tests
+++ b/share/spack/qa/run-style-tests
@@ -15,7 +15,6 @@
# run-flake8-tests
#
. "$(dirname $0)/setup.sh"
-check_dependencies flake8 mypy
# verify that the code style is correct
spack style --root-relative