pre-commit/pre_commit
Sean Perry 364da6a0a5 Support repos without hooks.yaml by reading a local config
If a repo does not have a hooks.yaml any hook ids are then looked for in
.pre-commit-hooks-config.yaml in the repo that is under test. It has the same
format as a standard hooks.yaml.

The purpose of this change is to avoid needing to mirror a linter repo just
to call it. Long term, tools could be reference by a URL or other source than
a git repo making having a mirror repo even more of a hassle.
2016-01-22 17:35:09 -08:00
..
clientlib Less blocking logic 2015-12-22 19:06:31 +00:00
commands Less blocking logic 2015-12-22 19:06:31 +00:00
languages Fix pre-commit for latest virtualenv. Resolves #299. Resolves #334 2016-01-19 18:08:20 -08:00
resources Fixups and test for pre-commit/pre-commit#277 2015-10-08 19:08:49 -07:00
__init__.py Initial commit. 2014-03-12 20:25:19 -07:00
__main__.py Runnable as python -m pre_commit 2014-07-22 19:22:29 -07:00
color.py Refactor fixtures in tests. 2014-06-15 18:49:45 -07:00
constants.py Support repos without hooks.yaml by reading a local config 2016-01-22 17:35:09 -08:00
error_handler.py Fail gracefully on undecodable install output. 2016-01-12 10:08:59 -08:00
errors.py Add error_handler and use it. 2014-08-13 11:02:28 -07:00
five.py Don't UnicodeDecodeError on non-ascii not-found hooks. Resolves #207. 2015-05-22 21:55:08 -07:00
git.py include checking symlinks 2016-01-15 12:50:04 -08:00
jsonschema_extensions.py Update some pre-commit hooks + some minor tweaks 2015-01-04 15:58:39 -08:00
logging_handler.py Tests pass on windows 2015-02-27 00:48:01 -08:00
main.py Fix #322 by only removing git environment variables while cloning 2015-12-22 19:10:08 -08:00
make_archives.py Tests pass on windows 2015-02-27 00:48:01 -08:00
manifest.py Support repos without hooks.yaml by reading a local config 2016-01-22 17:35:09 -08:00
ordereddict.py Make ordereddict a direct dependency. 2014-06-17 06:59:13 -07:00
output.py Fix appveyor and windows. Resolves #293 2015-11-23 22:28:57 -08:00
prefixed_command_runner.py Allow '.format('-like strings in arguments. Resolves #314. 2015-12-06 18:50:57 -08:00
repository.py Support repos without hooks.yaml by reading a local config 2016-01-22 17:35:09 -08:00
runner.py Support pre-commit from inside submodules 2015-12-18 15:35:44 -08:00
staged_files_only.py Fix staged_files_only for color.diff always. Closes #176. 2014-10-07 17:40:20 -07:00
store.py Fix #322 by only removing git environment variables while cloning 2015-12-22 19:10:08 -08:00
util.py Fail gracefully on undecodable install output. 2016-01-12 10:08:59 -08:00