diff options
author | George Hartzell <hartzell@alerce.com> | 2017-10-25 05:30:22 -0700 |
---|---|---|
committer | Todd Gamblin <tgamblin@llnl.gov> | 2017-10-25 14:30:22 +0200 |
commit | b43064190c92bc3506b9c0fb7b4bff39d8535ff3 (patch) | |
tree | 5216055c5b6225f1e55a7802c82a62bec941aa70 /etc | |
parent | d839012e00a1ae3f81f6e11a1e6d8e9cce9cc62e (diff) | |
download | spack-b43064190c92bc3506b9c0fb7b4bff39d8535ff3.tar.gz spack-b43064190c92bc3506b9c0fb7b4bff39d8535ff3.tar.bz2 spack-b43064190c92bc3506b9c0fb7b4bff39d8535ff3.tar.xz spack-b43064190c92bc3506b9c0fb7b4bff39d8535ff3.zip |
Specify base branch for flake8 comparison (#5796)
Internally we work against a branch named 'llnl/develop', which
mirrors the public repository's `develop` branch.
It's useful to be able to run flake8 on our changes, using
`llnl/develop` as the base branch instead of `develop`.
Internally the flake8 subcommand generates the list of changes files
using a hardcoded range of `develop...`.
This makes the base of that range a command line option, with a
default of `develop`.
That lets us do this:
```
spack flake8 --base llnl/develop
```
which uses a range of `llnl/develop...`.
Diffstat (limited to 'etc')
0 files changed, 0 insertions, 0 deletions