Commit Graph

1465 Commits

Author SHA1 Message Date
Anthony Sottile
e10b81858a Merge pull request #1028 from yoavcaspi/warn_unknown_keys
Add warning to additional keys in config
2019-05-12 15:04:41 -07:00
Yoav Caspi
7a998a091e improve function name 2019-05-12 23:29:42 +03:00
Yoav Caspi
ba7760b705 Add a test to validate that cfgv.WarnAdditionalKeys working as expected in the relevant config schemas 2019-05-12 15:09:15 +03:00
Anthony Sottile
a889f0bfd5 Merge pull request #1030 from pre-commit/improved_interrupt_output
Improve output when interrupted (^C)
2019-05-11 20:18:06 -07:00
Yoav Caspi
217d31ec1c Add a check and test to the real top level and improve the warning message 2019-05-11 22:57:52 +03:00
Anthony Sottile
f21316ebe8 Improve output when interrupted (^C) 2019-05-11 12:19:00 -07:00
Anthony Sottile
1c7ac67fba Merge pull request #1029 from yoavcaspi/typo_fix
typo fix
2019-05-11 12:09:29 -07:00
Yoav Caspi
59c282b184 typo fix 2019-05-11 21:47:26 +03:00
Yoav Caspi
fd9d9d276b Add warning to additional keys in config 2019-05-11 20:59:34 +03:00
Anthony Sottile
b3bfecde39 Fix markdown typo 2019-05-08 08:27:53 -07:00
Anthony Sottile
168ede2be0 v1.16.1 v1.16.1 2019-05-08 08:26:15 -07:00
Anthony Sottile
c2980217a8 Merge pull request #1022 from pre-commit/1021
Don't attempt to decode the healthy response
2019-05-07 16:23:14 -07:00
Anthony Sottile
d74ee6d743 Don't attempt to decode the healthy response 2019-05-07 09:38:17 -07:00
Anthony Sottile
8df6b22f4f Merge pull request #1018 from pre-commit/dates_in_changelog
Add dates to changelog entries
2019-05-04 14:27:39 -04:00
Anthony Sottile
f72a82359c Add dates to changelog entries
Automated with this script:

```bash
git tag -l | sed 's/^v//g' |
    xargs --replace bash -c 'sed -r -i "s/^({})$/\1 - $(git show --format=%ad --date=short --no-patch v{})/g" CHANGELOG.md'
sed -r -i 's/^(=+)$/\1=============/g' CHANGELOG.md
                     # - 2019-01-01
```

Thanks @hynek for the suggestion
2019-05-04 08:43:11 -07:00
Anthony Sottile
c65dd3ea3a Manually fix up 0.1 tag log 2019-05-04 08:40:51 -07:00
Anthony Sottile
75651dc8b0 v1.16.0 v1.16.0 2019-05-04 08:26:42 -07:00
Anthony Sottile
72f98d26e6 Merge pull request #1015 from Myrheimb/patch-1
Could this fix #1013?
2019-04-29 13:44:52 -07:00
Bjørnar Myrheim
00e048995c Yet another try to fix #1013
One again changed the string and file referenced to handle single quotes properly inside pcre greps.
2019-04-29 21:45:56 +02:00
Bjørnar Myrheim
5977b1125b Another try to fix #1013
Properly changed the string and file referenced to handle single quotes properly inside pcre greps.
2019-04-29 21:33:58 +02:00
Bjørnar Myrheim
5590fc7a53 New try to fix #1013
Changed the string and file referenced to handle single quotes properly inside pcre greps.
2019-04-29 21:20:22 +02:00
Bjørnar Myrheim
e9e665d042 Could this fix #1013?
I'm still a beginner, but a single single quote looked a bit off to me.
Could adding another single quote after pre fix this issue?
2019-04-29 20:22:18 +02:00
Anthony Sottile
c97dfb2281 Merge pull request #1014 from mxr/patch-1
Whitespace nit
2019-04-28 22:53:24 -07:00
Max R
64a65351b9 Whitespace nit 2019-04-29 01:40:12 -04:00
Anthony Sottile
ee80f6218a Fix badge url 2019-04-28 22:08:21 -07:00
Anthony Sottile
fee8ddd54b Merge pull request #1012 from pre-commit/azure_pipelines
azure pipelines [skip travis] [skip appveyor]
2019-04-28 22:00:31 -07:00
Anthony Sottile
9c6edab726 azure pipelines [skip travis] [skip appveyor] 2019-04-28 21:39:06 -07:00
Anthony Sottile
09e64e8ff6 Merge pull request #1011 from pre-commit/multi_install_windows
Fix double legacy install on windows
2019-04-27 16:01:32 -07:00
Anthony Sottile
af2c6de9ae Fix double legacy install on windows 2019-04-27 15:10:01 -07:00
Anthony Sottile
b8300268bf Merge pull request #1004 from marcjay/add_prepare-commit-msg_stage
Add support for prepare-commit-msg hooks
2019-04-21 15:56:16 -07:00
Anthony Sottile
81a94b8048 Merge pull request #1005 from asottile/gocache_appveyor
passenv %LocalAppData% so go functions on windows
2019-04-21 15:54:32 -07:00
Anthony Sottile
efeef97f5e passenv %LocalAppData% so go functions on windows 2019-04-21 15:32:27 -07:00
Marc Jay
82969e4ba3 Use set rather than list for commit message related stages, remove
default file open modes, tidy up bash call for failing hook test
2019-04-21 21:58:01 +01:00
Marc Jay
64467f6ab9 Fix broken test_manifest_hooks test 2019-04-21 21:54:23 +01:00
Marc Jay
e60f541559 Adds support for prepare-commit-msg hooks
Adds a prepare-commit-msg hook stage which allows for hooks which add
dynamic suggested/placeholder text to commit messages that an author can
use as a starting point for writing a commit message
2019-04-21 21:07:13 +01:00
Anthony Sottile
809b7482df v1.15.2 v1.15.2 2019-04-16 11:33:16 -07:00
Anthony Sottile
2d4ea61c93 Merge pull request #998 from pre-commit/full_clone_non_mainline_tag
Fix full clone + non-mainline tag
2019-04-16 11:30:57 -07:00
Anthony Sottile
eab24f3e48 Fix full clone + non-mainline tag 2019-04-16 10:30:05 -07:00
Anthony Sottile
b33f2c40d8 v1.15.1 v1.15.1 2019-04-01 09:44:09 -07:00
Anthony Sottile
6302dec938 Merge pull request #987 from asottile/no_sc_arg_max
Bound maxsize by 4096 when SC_ARG_MAX is not present
2019-04-01 09:42:44 -07:00
Anthony Sottile
681d78b6cf Bound maxsize by 4096 when SC_ARG_MAX is not present 2019-04-01 09:25:20 -07:00
Anthony Sottile
5169f455c9 v1.15.0 v1.15.0 2019-03-30 16:13:03 -07:00
Anthony Sottile
a009dd6caf Merge pull request #982 from bnorquist/master
add helpful CI message
2019-03-30 15:53:28 -07:00
Anthony Sottile
668e6415c0 Adjust messaging slightly 2019-03-30 14:05:24 -07:00
Ben Norquist
71a740d65d add helpful message and test 2019-03-30 14:00:03 -07:00
Anthony Sottile
03ac3b0840 Merge pull request #981 from tristan0x/fix/infinite-process-recursion
Do not run legacy script again when this is the one being executed
2019-03-30 13:54:42 -07:00
Anthony Sottile
bbc3130af2 Produce slightly more helpful message 2019-03-30 13:40:37 -07:00
Anthony Sottile
2fbe359846 Merge pull request #986 from tim77/master
Specify env python explicitly.
2019-03-30 11:35:50 -07:00
Artem Polishchuk
9f0cfed600 Specify env python explicitly. 2019-03-30 19:56:52 +02:00
Tristan Carel
ec72cb7260 assert that the pre-commit script being executed is not the legacy 2019-03-29 13:55:04 +01:00