pre-commit/pre_commit
Filippos Giannakos 8c78ddfd5c Improve pre-push fileset for a new remote branch
When pushing a branch that does not exist on the remote repository,
instead of blindly running the checks on every file, this commit locates
the first ancestor not present on the remote repository and uses its
parent as the source of the fileset calculation. If it has no parents,
then the remote repository has no common commits and the checks should
be run on all files.
2017-02-14 19:19:35 +02:00
..
clientlib Reorganize output writing 2016-11-26 12:15:55 -08:00
commands Make autoupdate slightly more future proof 2017-01-30 18:54:56 -08:00
languages Put the . in docker build at the end. 2017-01-27 14:22:00 -08:00
resources Improve pre-push fileset for a new remote branch 2017-02-14 19:19:35 +02: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 Remove py26 format literals 2016-09-15 08:41:58 -07:00
constants.py Introduce .pre-commit-hooks.yaml as a replacement for hooks.yaml 2017-01-21 13:47:59 -08:00
envcontext.py Add envcontext helper 2016-03-25 11:21:50 -07:00
error_handler.py Reorganize output writing 2016-11-26 12:15:55 -08:00
errors.py Add error_handler and use it. 2014-08-13 11:02:28 -07:00
five.py We're not using pylint 2016-05-20 16:14:18 -07:00
git.py Add first class support for golang hooks 2017-01-24 13:49:22 -08:00
jsonschema_extensions.py Update some pre-commit hooks + some minor tweaks 2015-01-04 15:58:39 -08:00
logging_handler.py Centralize logging initialization 2016-11-26 14:19:37 -08:00
main.py Add a --tags-only option to autoupdate 2017-01-25 21:02:50 -08:00
make_archives.py Update the archive resources 2016-12-03 17:39:41 +13:00
manifest.py Make autoupdate slightly more future proof 2017-01-30 18:54:56 -08:00
output.py Reorganize output writing 2016-11-26 12:15:55 -08:00
parse_shebang.py Fix eslint on windows 2017-02-10 18:09:00 +11:00
prefixed_command_runner.py Centralize logging initialization 2016-11-26 14:19:37 -08:00
repository.py Keep additional_dependencies in the order in which they are specified 2017-02-09 18:09:09 +01:00
runner.py Incoroporate PR feedback 2016-12-02 13:53:59 -08:00
staged_files_only.py Remove py26 format literals 2016-09-15 08:41:58 -07:00
store.py Centralize logging initialization 2016-11-26 14:19:37 -08:00
util.py py27+ syntax improvements 2017-01-21 11:49:53 -08:00
xargs.py xargs returns nonzero for negate + not found exe (fixes pcre + not found #447) 2016-12-04 15:07:35 -08:00