Commit graph

1488 commits

Author SHA1 Message Date
Peter Mosmans
26c6af21ef Add more checks for mingw platform
When the mingw platform is detected, several different path routines will be applied.
2019-06-08 20:07:01 +00:00
Peter Mosmans
9850eae10a Use current version of Python for Windows by default 2019-06-08 16:21:54 +02:00
Anthony Sottile
e0c7db1021
Merge pull request #1054 from pre-commit/rust_ap_linux
Fixes for rust tests on azure pipelines linux
2019-06-06 09:18:40 -07:00
Anthony Sottile
90128c5a9d Fixes for rust tests on azure pipelines linux 2019-06-06 08:50:01 -07:00
Anthony Sottile
016eda9f3c v1.17.0 2019-06-06 08:30:11 -07:00
Anthony Sottile
a75fe69984
Merge pull request #1051 from mandarvaze/master
Pass color option to git diff (on failure)
2019-06-01 08:11:45 -07:00
Mandar Vaze
3d7b374bef Pass correct value to git color based on args.color 2019-06-01 17:33:27 +05:30
Mandar Vaze
64f0178b75 Pass color option to git diff unconditionally 2019-06-01 07:40:20 +05:30
Anthony Sottile
fff3ad518c
Merge pull request #1052 from pre-commit/rust_ap
azure pipelines now has rust by default on windows
2019-05-31 13:35:49 -07:00
Anthony Sottile
071cc422c7 xfail default language version check for azure pipelines 2019-05-31 13:17:54 -07:00
Anthony Sottile
e08d373be3 azure pipelines now has rust by default on windows 2019-05-31 09:51:08 -07:00
Mandar Vaze
4f4767c9e0 Pass color option to git diff (on failure)
Fixes #1007
2019-05-31 16:42:16 +05:30
Anthony Sottile
0b6a39768a
Merge pull request #1048 from pre-commit/cfgv_2
fixes for cfgv>=2
2019-05-27 13:59:24 -07:00
Anthony Sottile
625750eeef fixes for cfgv>=2 2019-05-27 13:37:49 -07:00
Anthony Sottile
099f521b7e
Merge pull request #1045 from pre-commit/fix_test_pre_commit_on_path
Fix test_environment_not_sourced when pre-commit is installed globally
2019-05-26 19:11:57 -07:00
Anthony Sottile
e868add5a3 Fix test_environment_not_sourced when pre-commit is installed globally 2019-05-26 17:03:15 -07:00
Anthony Sottile
28664d6bf1
Merge pull request #1043 from pre-commit/rmtree_readonly_dirs
Fix rmtree for readonly directories
2019-05-22 12:32:54 -07:00
Anthony Sottile
da44d4267e Fix rmtree for readonly directories 2019-05-22 11:04:35 -07:00
Anthony Sottile
77947f212e
Merge pull request #1033 from yoavcaspi/fix_tox_venv
restore testenv:venv section
2019-05-13 15:19:15 -07:00
Yoav Caspi
bb78de09d1 move testenv:venv section to be in lexicographic order 2019-05-14 00:08:54 +03:00
Anthony Sottile
bd212393ae
Merge pull request #1027 from pre-commit/keyboard_interrupt_fix
Fix handling of SIGINT in hook script
2019-05-13 13:17:48 -07:00
Yoav Caspi
471fe7d58f restore testenv:venv section. to be able to set the dev environment as described in the CONTRIBUTING.md 2019-05-13 23:14:41 +03:00
Anthony Sottile
fb15fa65f2 Fix handling of SIGINT in hook script 2019-05-13 12:33:51 -07:00
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 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 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