Anthony Sottile
a821172d9d
Remove defaults before checking whether the intelligent rewrite was successful
2017-09-08 14:28:23 -07:00
Anthony Sottile
a78f5d5c24
pre-commit migrate-config should not return nonzero when successful
2017-09-07 09:23:36 -07:00
Anthony Sottile
8f5675d813
Implement pre-commit migrate-config
2017-09-06 10:07:55 -07:00
Anthony Sottile
3e76cdaf25
Enable map configurations (config v2).
2017-09-06 10:01:08 -07:00
Anthony Sottile
59c6df5e46
When possible, preserve config format on autoupdate
2017-08-10 18:32:24 -07:00
Anthony Sottile
0c70fa4229
Use asottile/add-trailing-comma
2017-07-12 18:30:51 -07:00
Anthony Sottile
cb8dd335f4
Replace jsonschema with better error messages
2017-03-08 14:07:00 -08:00
Anthony Sottile
8d589a5e97
Make autoupdate slightly more future proof
2017-01-30 18:54:56 -08:00
Anthony Sottile
7e512004d6
Remove pre_commit.ordereddict module
2017-01-30 08:21:34 -08:00
Anthony Sottile
52cd42316c
Add a --tags-only option to autoupdate
2017-01-25 21:02:50 -08:00
Jacob Scott
f205e6d170
Incoroporate PR feedback
...
* Make config_file a required argument to Runner
* Update main.py
* Update tests to make them all green
New test to test alternate config functionality coming in next commit
2016-12-02 13:53:59 -08:00
Anthony Sottile
758faa4ae7
Autoupdate to tags when available
2016-06-23 08:29:33 -07:00
Anthony Sottile
1dfcf10036
git grep -l tmpdir_factory | xargs sed -i 's/tmpdir_factory/tempdir_factory/g'
2015-10-01 10:24:54 -07:00
Lucas Cimon
3c02a24655
Fixing bug with local hooks that disappeared during autoupdate
2015-06-14 22:30:28 +02:00
Lucas Cimon
b575cb510c
Fix #238 : pre-commit autoupdate fails with local hooks
2015-06-02 23:30:06 +02:00
Anthony Sottile
fd109b7745
reorder-python-imports
2015-01-04 15:49:19 -08:00
Anthony Sottile
bbd2572b11
Remove plumbum
2014-10-02 06:59:37 -07:00
Anthony Sottile
a984a02c84
Make ordereddict a direct dependency.
2014-06-17 06:59:13 -07:00
Anthony Sottile
85a76617c1
Refactor fixtures in tests.
2014-06-15 18:49:45 -07:00
Anthony Sottile
3baefd57e2
Convert autoupdate_test to use new fixture functions.
2014-06-15 17:00:35 -07:00
Anthony Sottile
047a933554
Move empty_git_dir out of pytest fixtures.
2014-06-15 15:47:11 -07:00
Anthony Sottile
7b1230df27
Use plumbum a bit better.
2014-06-15 14:19:05 -07:00
Anthony Sottile
cdfd3f7670
Move commands into their own files.
2014-06-13 19:52:14 -07:00