diff options
author | Todd Gamblin <tgamblin@llnl.gov> | 2022-07-31 02:42:24 -0700 |
---|---|---|
committer | Todd Gamblin <tgamblin@llnl.gov> | 2022-07-31 13:29:20 -0700 |
commit | 143f3f830c42a76fb6255264f7d0012f4919e9ab (patch) | |
tree | 5ac770954fbf7bf4e8c00395d812dc0e3ee34791 /.git-blame-ignore-revs | |
parent | 76b190a6243429a058e7945ca0e98fa2159009f8 (diff) | |
download | spack-143f3f830c42a76fb6255264f7d0012f4919e9ab.tar.gz spack-143f3f830c42a76fb6255264f7d0012f4919e9ab.tar.bz2 spack-143f3f830c42a76fb6255264f7d0012f4919e9ab.tar.xz spack-143f3f830c42a76fb6255264f7d0012f4919e9ab.zip |
style: simplify arguments with `--tool TOOL` and `--skip TOOL`
`spack style` tests were annoyingly brittle because we could not easily be
specific about which tools to run (we had to use `--no-black`, `--no-isort`,
`--no-flake8`, and `--no-mypy`). We should be able to specify what to run OR
what to skip.
Now you can run, e.g.:
spack style --tool black,flake8
or:
spack style --skip black,isort
- [x] Remove `--no-black`, `--no-isort`, `--no-flake8`, and `--no-mypy` args.
- [x] Add `--tool TOOL` argument.
- [x] Add `--skip TOOL` argument.
- [x] Allow either `--tool black --tool flake8` or `--tool black,flake8` syntax.
Diffstat (limited to '.git-blame-ignore-revs')
0 files changed, 0 insertions, 0 deletions