Commit Graph

1799 Commits

Author SHA1 Message Date
Anthony Sottile 6850c27dd6 Merge pull request #1237 from pre-commit/actual_environment_python_test
Create an actual environment for python healthy() types test
2019-12-06 15:05:02 -08:00
Anthony Sottile 2cff185c00 Revert "Fix step template breakage"
This reverts commit dc612f0219.
2019-12-06 13:35:28 -08:00
Anthony Sottile f6b0c135ce Create an actual environment for python healthy() types test 2019-12-06 13:31:08 -08:00
Anthony Sottile fe10811e29 Merge pull request #1236 from pre-commit/future_proof_parse_shebang_test
Use echo instead of python in parse_shebang_test
2019-12-06 13:08:31 -08:00
Anthony Sottile 9fada617b9 Use echo instead of python in parse_shebang_test 2019-12-06 11:54:53 -08:00
Anthony Sottile cb36410c91 Merge pull request #1234 from pre-commit/step_template_breakage
Fix step template breakage
2019-12-06 09:51:28 -08:00
Anthony Sottile 2bdbd9e7a0 Fix for newest git 2019-12-06 09:27:19 -08:00
Anthony Sottile dc612f0219 Fix step template breakage 2019-12-06 09:08:26 -08:00
Anthony Sottile 023b337ff0 Merge pull request #1224 from pre-commit/better_error_inside_dotgit
Show better error message when running inside `.git`
2019-11-18 15:15:23 -08:00
Anthony Sottile 0760bec3ff Show better error message when running inside .git 2019-11-18 14:57:41 -08:00
Anthony Sottile 0fd4a2ea38 Merge pull request #1201 from ryanrhee/rhee/grammar
grammar
2019-11-01 08:34:35 -07:00
Ryan Rhee addc7045ba grammar 2019-11-01 11:33:04 -04:00
Anthony Sottile 6d4487e4b4 Merge pull request #1200 from ryanrhee/rhee/color
[xargs] Update docblock comment
2019-11-01 07:21:33 -07:00
Ryan Rhee 8dd05c9fce [xargs] Update docblock 2019-11-01 10:03:07 -04:00
Anthony Sottile 0bc40bc4ea v1.20.0 v1.20.0 2019-10-28 16:29:59 -07:00
Anthony Sottile d09930469c Merge pull request #1197 from pre-commit/bump_sample_config
Bump the version of pre-commit-hooks in sample-config
2019-10-28 16:20:46 -07:00
Anthony Sottile 54359fff39 Bump the version of pre-commit-hooks in sample-config 2019-10-28 15:21:28 -07:00
Anthony Sottile 7d5f98b6a0 Merge pull request #1196 from pre-commit/mkdirp
Fix rare first-run race with creation of pre-commit directory
2019-10-28 15:14:21 -07:00
Anthony Sottile 8ff880faa6 Fix rare first-run race with creation of pre-commit directory 2019-10-28 14:56:03 -07:00
Anthony Sottile 6970827a84 Merge pull request #1195 from choffee/master
Update ruby-build to latest version
2019-10-28 13:25:12 -07:00
John Cooper 1bd745eccf Added new versions of rbenv and ruby-build 2019-10-28 19:54:14 +00:00
Anthony Sottile f1b6a7842a v1.19.0 v1.19.0 2019-10-26 12:45:55 -07:00
Anthony Sottile 7728162d7a Merge pull request #1185 from pre-commit/healthy_types
Fix python.healthy() check with stdlib module clashes
2019-10-22 13:58:24 -07:00
Anthony Sottile bfcee8ec9f Fix python.healthy() check with stdlib module clashes 2019-10-22 13:23:57 -07:00
Anthony Sottile 1509dc497e Merge pull request #1179 from pre-commit/normalize_paths_to_forward_slashes
Normalize paths on windows to forward slashes
2019-10-19 15:08:56 -07:00
Anthony Sottile 707407dd49 Normalize paths on windows to forward slashes 2019-10-19 14:45:23 -07:00
Anthony Sottile 4bd6529c05 Merge pull request #1176 from pre-commit/importlib_metadata_py38
Use importlib.metadata directly in python3.8+
2019-10-17 11:36:01 -07:00
Anthony Sottile f8f81db36d Use importlib.metadata directly in python3.8+ 2019-10-17 10:52:44 -07:00
Anthony Sottile b3582dfd31 Merge pull request #1169 from pre-commit/color
show color in hook outputs when attached to a tty
2019-10-14 14:12:48 -07:00
Anthony Sottile 7c3404ef1f show color in hook outputs when attached to a tty 2019-10-12 23:17:36 -07:00
Anthony Sottile c8620f35e1 Merge pull request #1170 from pre-commit/fail_fix
Fix fail type signature
2019-10-12 21:53:37 -07:00
Anthony Sottile 38766816ac Fix fail type signature 2019-10-12 21:29:15 -07:00
Anthony Sottile 2048fed110 Merge pull request #1168 from pre-commit/fix_stdout_stderr_splicing
Fix ordering of mixed stdout / stderr printing
2019-10-12 13:54:11 -07:00
Anthony Sottile 2633d38a63 Fix ordering of mixed stdout / stderr printing 2019-10-12 13:35:04 -07:00
Anthony Sottile 183c8cbb3a Merge pull request #1161 from WillKoehrsen/not-executable-fix
Handle case when executable is not executable
2019-10-07 13:10:10 -07:00
WillKoehrsen 95dbf1190a Handle case when executable is not executable
- Changed error message if executable is not executable

Closes:[1159](https://github.com/pre-commit/pre-commit/issues/1159)
2019-10-07 15:47:30 -04:00
Anthony Sottile bb108bf00e Merge pull request #1160 from pre-commit/cmd_output_b
Split out cmd_output_b
2019-10-06 17:19:46 -07:00
Anthony Sottile f612aeb22b Split out cmd_output_b 2019-10-06 15:16:47 -07:00
Anthony Sottile ab063977ad Merge pull request #1153 from pre-commit/init_templatedir_hook_types
Fix hook_types when calling init-templatedir
2019-09-30 11:11:07 -07:00
Anthony Sottile 36609ee305 Fix hook_types when calling init-templatedir 2019-09-30 10:29:53 -07:00
Anthony Sottile 2d0927d0b3 Merge pull request #1148 from pre-commit/newline_fixup
Fix up some newlines in output
2019-09-24 20:55:07 +02:00
Anthony Sottile 795506a486 Fix up some newlines in output 2019-09-24 10:22:44 -07:00
Anthony Sottile cfc4910068 Merge pull request #1142 from marqueewinq/master
Add version information to error logs
2019-09-24 17:54:20 +02:00
marqueewinq cb164ef629 replaced str concat with .write_line(); replaced \t with spaces; removed trailing space in logs 2019-09-24 16:25:27 +03:00
marqueewinq e0155fbd66 removed meta from stdout; replaced = with : ; handled sys.version newlines; stylized errorlog to md 2019-09-24 15:50:07 +03:00
marqueewinq de63b6a850 updated import style; put the version info on top of error message; fixed tests 2019-09-24 13:34:46 +03:00
Anthony Sottile f735f47448 Merge pull request #1145 from pre-commit/multiple_hooks_install
Allow --hook-type to be specified multiple times
2019-09-23 20:40:49 +02:00
Anthony Sottile a18646deb2 Allow --hook-type to be specified multiple times 2019-09-23 11:14:36 -07:00
marqueewinq 247d45af05 fixed #1141 2019-09-20 15:05:51 +03:00
Anthony Sottile 96c35185f0 Merge pull request #1124 from pre-commit/all-repos_autofix_rm-reqs
Remove redundant flake8 dependency
2019-08-28 11:58:30 -07:00