pre-commit/pre_commit/commands
Matt Layman 4640dc7b4a Run only the specified hook even when stages exist in config.
This branches fixes the run logic so that when
`pre-commit run some_hook -a` runs when the config contains
`stages: ['commit']` for some other hook, only the hook specified as an
argument will run.

Fixes #772
2018-07-19 21:45:43 -04:00
..
__init__.py Move commands into their own files. 2014-06-13 19:52:14 -07:00
autoupdate.py autoupdate: separate store from runner 2018-06-29 20:04:16 -07:00
clean.py clean: separate store from runner 2018-06-29 20:08:23 -07:00
install_uninstall.py hook paths are only computed in install_uninstall 2018-07-05 12:49:01 -07:00
migrate_config.py Appease yaml.load linters 2018-07-03 05:12:36 -07:00
run.py Run only the specified hook even when stages exist in config. 2018-07-19 21:45:43 -04:00
sample_config.py Migrate sha -> rev 2018-02-24 20:19:39 -08:00
try_repo.py Separate store from runner 2018-06-29 22:35:53 -07:00