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
Anthony Sottile
b1e6063e12
v0.7.6
2016-01-19 18:35:13 -08:00
Anthony Sottile
6adf242444
Merge pull request #335 from pre-commit/fix_for_latest_virtualenv
...
Fix pre-commit for latest virtualenv. Resolves #299 . Resolves #334
2016-01-19 18:34:18 -08:00
Anthony Sottile
706f5fbcb5
Add pin for setuptools under test since it breaks pypy3
2016-01-19 18:34:03 -08:00
Anthony Sottile
d58b945107
Fix pre-commit for latest virtualenv. Resolves #299 . Resolves #334
2016-01-19 18:08:20 -08:00
Anthony Sottile
1dbcfe3adb
v0.7.5
2016-01-15 13:40:10 -08:00
Anthony Sottile
aa6d64beab
Merge pull request #333 from bchess/include_symlinks
...
include checking symlinks
2016-01-15 13:39:21 -08:00
Benjamin Chess
a70abd04e7
include checking symlinks
2016-01-15 12:50:04 -08:00
Anthony Sottile
b00637beb5
v0.7.4
2016-01-12 16:10:11 -08:00
Anthony Sottile
13855c459b
Merge pull request #332 from pre-commit/fail_gracefully_on_unencodable_bytes_during_install
...
Fail gracefully on undecodable install output.
2016-01-12 16:06:32 -08:00
Anthony Sottile
2aaaddb5cc
Fail gracefully on undecodable install output.
2016-01-12 10:08:59 -08:00
Anthony Sottile
75aaadd4c4
v0.7.3
2015-12-22 19:33:34 -08:00
Anthony Sottile
fadeb509ad
Merge pull request #326 from pre-commit/fix_commit_am_322
...
Fix #322 by only removing git environment variables while cloning
2015-12-22 22:31:54 -05:00
Anthony Sottile
495fefd316
Fix #322 by only removing git environment variables while cloning
2015-12-22 19:10:08 -08:00
Anthony Sottile
c16479b94a
Merge pull request #325 from pre-commit/py35_appveyor
...
Use python3.5 in appveyor over py34
2015-12-22 18:13:17 -05:00
Anthony Sottile
a488424501
Use python3.5 in appveyor over py34
2015-12-22 14:40:30 -08:00
Anthony Sottile
df3319176d
v0.7.2
2015-12-22 13:07:05 -08:00
Anthony Sottile
7d234e2062
Merge pull request #324 from laurentsigal/allow_always_run
...
Allow to simply run a script once - no matter what the changes are
2015-12-22 16:05:32 -05:00
Laurent Sigal
12a08de17f
Merge pull request #1 from pre-commit/asottile_allow_always_run
...
Add regression test for `always_run` setting
2015-12-22 15:41:11 -05:00
Anthony Sottile
4f58f119b1
Add regression test for always_run setting
2015-12-22 12:33:17 -08:00
Laurent Sigal
5d160e1547
Fix tests
2015-12-22 19:47:22 +00:00
Laurent Sigal
a72ca3d68e
Less blocking logic
2015-12-22 19:06:31 +00:00
Laurent Sigal
5a08204b8d
Allow to simply run a script once - no matter what the changes are
2015-12-22 18:12:08 +00:00
Anthony Sottile
577d8a1dfa
v0.7.1
2015-12-19 09:04:25 -08:00
Anthony Sottile
638e16e521
Merge pull request #321 from pre-commit/support_submodules
...
Support pre-commit from inside submodules
2015-12-19 01:45:16 -05:00
Anthony Sottile
c3c98afe4f
Support pre-commit from inside submodules
2015-12-18 15:35:44 -08:00
Anthony Sottile
d6cf62532d
Merge pull request #320 from pre-commit/use_show_toplevel
...
Use rev-parse --show-toplevel
2015-12-18 11:33:51 -05:00
Anthony Sottile
3f02a66e37
Use rev-parse --show-toplevel
2015-12-18 08:04:26 -08:00
Anthony Sottile
0443ca24a2
v0.7.0
2015-12-13 12:02:54 -08:00
Anthony Sottile
72516288df
Merge pull request #319 from pre-commit/additional_deps_roll_forward
...
Make additional_dependencies rollforward safe
2015-12-10 17:40:16 -08:00
Anthony Sottile
b85a674026
Make additional_dependencies rollforward safe
2015-12-10 12:21:03 -08:00
Anthony Sottile
c1c3f3b571
Merge pull request #318 from pre-commit/modify_config_testing_helper
...
Add a helper to modify config files under test
2015-12-09 16:06:57 -08:00
Anthony Sottile
be4d0a2742
Add a helper to modify config files under test
2015-12-09 15:12:36 -08:00
Anthony Sottile
336939ef99
Merge pull request #317 from pre-commit/modify_config_testing_helper
...
Remove adding config file in one place
2015-12-09 14:42:07 -08:00
Anthony Sottile
f4d4679fd7
Remove adding config file in one place
2015-12-09 14:27:22 -08:00
Anthony Sottile
ef20046694
v0.6.8
2015-12-07 14:25:55 -08:00
Anthony Sottile
5e58796461
Merge pull request #316 from pre-commit/minimum_version_requirement
...
Add an option to require a specific pre-commit version
2015-12-07 08:08:52 -08:00
Anthony Sottile
ce307a16e0
Add an option to require a specific pre-commit version
2015-12-06 20:54:07 -08:00
Anthony Sottile
c24f78b1a5
Merge pull request #315 from pre-commit/allow_curly_braces_in_args
...
Allow '.format('-like strings in arguments. Resolves #314 .
2015-12-06 19:55:42 -08:00
Anthony Sottile
005cb868e0
Allow '.format('-like strings in arguments. Resolves #314 .
2015-12-06 18:50:57 -08:00
Anthony Sottile
97735a3883
Merge pull request #313 from pre-commit/travis_latest_git
...
Add python3.5, pypy3, and latest git to travis
2015-12-04 15:01:48 -08:00
Anthony Sottile
2df1dc9023
Add python3.5, pypy3, and latest git to travis
2015-12-04 14:30:15 -08:00
Anthony Sottile
d24a9374d2
We're a universal wheel
2015-12-02 11:47:11 -08:00
Anthony Sottile
7a7667fb1e
v0.6.7
2015-12-02 11:41:26 -08:00
Anthony Sottile
c8f0da00b8
Merge pull request #310 from pre-commit/fix_printing_of_non_ascii_in_error_handler
...
Fix printing of non-ascii in error handler
2015-12-01 14:16:53 -08:00
Anthony Sottile
2463738af4
Fix printing of non-ascii in error handler
2015-12-01 12:48:44 -08:00
Anthony Sottile
6b005cff0d
Merge pull request #306 from pre-commit/warn_on_hook_not_present_instead_of_keyerror
...
Produce a useful error message when hook id is not present. Resolves #194
2015-11-26 09:30:33 -08:00
Anthony Sottile
8c8bb2c077
Merge pull request #308 from pre-commit/contributing
...
Add CONTRIBUTING.md. Resolves #274
2015-11-25 23:39:56 -08:00
Anthony Sottile
e691d0f3a8
Add CONTRIBUTING.md. Resolves #274
2015-11-25 23:39:34 -08:00
Anthony Sottile
603bf159d9
Produce a useful error message when hook id is not present. Resolves #194
2015-11-25 23:13:49 -08:00