Commit Graph

1585 Commits

Author SHA1 Message Date
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
Anthony Sottile
d3474dfff3 make the tests not depend on flake8 being installed 2019-08-28 11:41:03 -07:00
Anthony Sottile
c1580be7d3 Remove redundant flake8 dependency
Committed via https://github.com/asottile/all-repos
2019-08-27 21:28:06 -07:00
Anthony Sottile
0245a67831 v1.18.3 v1.18.3 2019-08-27 10:38:53 -07:00
Anthony Sottile
8537e7c94e Simplify if statement slightly 2019-08-27 10:35:40 -07:00
Anthony Sottile
47fb42cf1f Merge pull request #1122 from henryykt/bugfix/windows_node_path
Fix NODE_PATH on win32
2019-08-27 10:33:18 -07:00
Henry Tang
b0c7ae4d29 Fix NODE_PATH on win32 2019-08-28 00:03:04 +08:00
Anthony Sottile
7f900395ec v1.18.2 v1.18.2 2019-08-15 10:07:24 -07:00
Anthony Sottile
7c376cb4d6 Merge pull request #1117 from scop/py3-default-version
Stabilize python default version lookup
2019-08-15 09:51:40 -07:00
Ville Skyttä
f84b19748d Patch the correct find_executable 2019-08-15 19:28:07 +03:00
Ville Skyttä
562276098c Address more @asottile's review comments 2019-08-15 18:54:08 +03:00
Ville Skyttä
38da98d2d6 Address @asottile's review comments 2019-08-15 18:43:31 +03:00
Ville Skyttä
c377830898 Mock find_executable for find_by_sys_executable test 2019-08-15 18:34:25 +03:00
Anthony Sottile
66a78ce819 Merge pull request #1116 from scop/spelling
Spelling fixes
2019-08-15 06:11:44 -07:00
Ville Skyttä
fa2e154b41 Stabilize python default version lookup
For example, for sys.executable:
    /usr/bin/python3 -> python3.7
...the default lookup may return either python3 or python3.7. Make the
order deterministic by iterating over tuple, not set, of candidates.
2019-08-15 10:06:31 +03:00