summaryrefslogtreecommitdiff
path: root/bin/spack-python
diff options
context:
space:
mode:
authorTodd Gamblin <tgamblin@llnl.gov>2021-07-04 01:53:02 -0700
committerTodd Gamblin <tgamblin@llnl.gov>2021-07-07 17:27:31 -0700
commit24a4d81097c2a930b34d55e25400d14b74ec4112 (patch)
treedeb21e1d2706371226e846a2a5b84cdccfdece55 /bin/spack-python
parentb5d2c30d26060d4a55c88c1a665b6e9d95ba1644 (diff)
downloadspack-24a4d81097c2a930b34d55e25400d14b74ec4112.tar.gz
spack-24a4d81097c2a930b34d55e25400d14b74ec4112.tar.bz2
spack-24a4d81097c2a930b34d55e25400d14b74ec4112.tar.xz
spack-24a4d81097c2a930b34d55e25400d14b74ec4112.zip
style: clean up and restructure `spack style` command
This consolidates code across tools in `spack style` so that each `run_<tool>` function can be called indirecty through a dictionary of handlers, and os that checks like finding the executable for the tool can be shared across commands. - [x] rework `spack style` to use decorators to register tools - [x] define tool order in one place in `spack style` - [x] fix python 2/3 issues to Get `isort` checks working - [x] make isort error regex more robust across versions - [x] remove unused output option - [x] change vestigial `TRAVIS_BRANCH` to `GITHUB_BASE_REF` - [x] update completion
Diffstat (limited to 'bin/spack-python')
0 files changed, 0 insertions, 0 deletions