pre-commit/tests/commands
Filippos Giannakos 2f4199850d Add --allow-missing-config option to install
When no '.pre-commit-config.yaml' file exists while `pre-commit` hooks
are enabled, `pre-commit` returns an error and the action is aborted.
This is a very common scenario when pre-commit is added later on a
project and the user wants to work on a previous branch where the
configuration file does not exist.

This commits allow the user to optionally install the `pre-commit` hooks
with an option to allow a missing configuration and trigger only the
legacy pre-commit hooks (if any) when it is missing.
2017-02-23 18:25:51 +02:00
..
__init__.py Move commands into their own files. 2014-06-13 19:52:14 -07:00
autoupdate_test.py Make autoupdate slightly more future proof 2017-01-30 18:54:56 -08:00
clean_test.py Tests pass on windows 2015-02-27 00:48:01 -08:00
install_uninstall_test.py Add --allow-missing-config option to install 2017-02-23 18:25:51 +02:00
run_test.py Remove pre_commit.ordereddict module 2017-01-30 08:21:34 -08:00