Commit Graph

1781 Commits

Author SHA1 Message Date
Anthony Sottile
ecaf70128a Merge pull request #1509 from pre-commit/system_language_version_ruby
skip rbenv if ruby and gem are installed with default language_version
2020-06-15 14:13:44 -07:00
Anthony Sottile
e1e6a32c51 skip rbenv if ruby and gem are installed with default language_version 2020-06-15 13:50:47 -07:00
Anthony Sottile
0e5eb19929 v2.5.1 v2.5.1 2020-06-09 14:18:42 -07:00
Anthony Sottile
8ffcd386ae Merge pull request #1497 from pre-commit/no_recurse_clone
prevent infinite recursion of post-checkout on clone
2020-06-09 14:15:35 -07:00
Anthony Sottile
6ee9e13b26 prevent infinite recursion of post-checkout on clone 2020-06-09 10:18:22 -07:00
Anthony Sottile
2f25085d60 v2.5.0 v2.5.0 2020-06-08 15:17:13 -07:00
Anthony Sottile
e69e3e04a1 Merge pull request #1494 from pre-commit/normalize_slashes_more
normalize slashes even earlier on windows for filenames
2020-06-08 15:08:24 -07:00
Anthony Sottile
5fb721f7a7 normalize slashes even earlier on windows for filenames 2020-06-08 14:53:27 -07:00
Anthony Sottile
79359ed4e2 Merge pull request #1480 from pre-commit/random_meth
use the shuffle method of Random instead
2020-05-31 12:59:41 -07:00
Anthony Sottile
e120828042 use the shuffle method of Random instead 2020-05-31 12:42:17 -07:00
Anthony Sottile
d71699d7cd Merge pull request #1474 from pre-commit/unicode_error_py_launcher
avoid a UnicodeError on windows with non-charmap characters
2020-05-27 15:02:41 -07:00
Anthony Sottile
0781dac78f avoid a UnicodeError on windows with non-charmap characters 2020-05-27 13:14:29 -07:00
Anthony Sottile
42562a12ed Merge pull request #1471 from pre-commit/all-repos_autofix_faster-tests
slightly speed up tests by avoiding pre-commit install
2020-05-26 22:26:20 -07:00
Anthony Sottile
254c42864b slightly speed up tests by avoiding pre-commit install
Committed via https://github.com/asottile/all-repos
2020-05-26 21:53:16 -07:00
Anthony Sottile
ab63f9393f Merge pull request #1467 from tech-chad/env_variable_pre-commit
Expose an env variable that indicates if pre-commit is running
2020-05-23 19:01:40 -07:00
Chad Larson
9e0b4a9d4d pre-commit env var exposed 2020-05-23 17:20:26 -05:00
Anthony Sottile
f32bc648f0 Merge pull request #1450 from pre-commit/all-repos_autofix_pre-commit-autoupdate
Run pre-commit autoupdate
2020-05-11 15:32:04 -07:00
Anthony Sottile
6f2e869213 Run pre-commit autoupdate
Committed via https://github.com/asottile/all-repos
2020-05-11 14:15:20 -07:00
Anthony Sottile
9641434163 v2.4.0 v2.4.0 2020-05-11 12:31:10 -07:00
Anthony Sottile
b3c0eab7dc Merge pull request #1448 from pre-commit/refuse_migrating_invalid_config
refuse to migrate an invalid configuration
2020-05-10 19:48:06 -07:00
Anthony Sottile
9b8e3d082d refuse to migrate an invalid configuration 2020-05-10 18:02:37 -07:00
Anthony Sottile
46f5cc9609 Merge pull request #1442 from tdeo/tdeo/ruby_gem_path
Unset GEM_PATH for ruby hooks
2020-05-10 12:42:54 -07:00
Thierry Deo
b44461da33 Unset GEM_PATH for ruby hooks 2020-05-10 12:12:15 -07:00
Anthony Sottile
d89486b0f0 oh right, needs a no-cover for xfail 2020-05-10 12:06:27 -07:00
Anthony Sottile
2e47f2dc72 xfail this one too 2020-05-10 11:30:37 -07:00
Anthony Sottile
8db02bd550 xfail these tests on windows (access violation in npm) 2020-05-08 15:55:10 -07:00
Anthony Sottile
182658c88c Merge pull request #1443 from pre-commit/realpath_cache_dir
Use the real path of the cache root
2020-05-08 15:48:00 -07:00
Anthony Sottile
4c154c3019 Use the real path of the cache root 2020-05-08 14:22:57 -07:00
Anthony Sottile
450d617dec Merge pull request #1435 from marcjay/maintain-scalar-quotes-rev-autoupdate
Maintain scalar quoting style when autoupdate re-writes rev
2020-05-04 19:41:50 -07:00
Marc Jay
98d8a3d60f Maintain scalar quoting style when autoupdate re-writes rev
If rev is wrapped in single or double quotes (e.g. due to a yamllint quoted-strings rule), when
re-writing the rev to update it, honour the existing quotation style
2020-05-04 19:29:03 -07:00
Anthony Sottile
f455312944 Merge pull request #1431 from pre-commit/better_healthy
Improve python healthy() and eliminate python_venv
2020-05-04 10:52:59 -07:00
Anthony Sottile
e65ea5ede0 Merge pull request #1432 from skmatz/patch-1
Fix some typos
2020-05-03 22:25:23 -07:00
Shunta Komatsu
c2375f2fa8 Fix typo 2020-05-04 14:16:53 +09:00
Anthony Sottile
3d50b3736a Improve python healthy() and eliminate python_venv
- the `healthy()` check now requires virtualenv 20.x's metadata
- `python_venv` is obsolete now that `virtualenv` generates the same structure
  and `virtualenv` is more portable
2020-05-03 21:55:48 -07:00
Anthony Sottile
0c481ea51d Merge pull request #1429 from pre-commit/minor
yay french strings
2020-05-02 19:22:16 -07:00
Anthony Sottile
df01824d10 Merge pull request #1422 from domodwyer/bugfix/stash-with-post-checkout-hook
fix hooks firing during staged_files_only
2020-05-02 14:47:38 -07:00
Dom
928938a6a1 fix hooks firing during staged_files_only 2020-05-02 14:00:21 -07:00
Anthony Sottile
5ed3f5649b Merge pull request #1428 from scop/golang-empty-dummy-module
Add dummy go.mod for local "empty" installs
2020-05-02 13:23:29 -07:00
Anthony Sottile
3b728fdb76 yay french strings 2020-05-02 11:37:31 -07:00
Ville Skyttä
e2ed73209a Add dummy go.mod for local "empty" installs 2020-05-02 21:02:36 +03:00
Anthony Sottile
0670e0b287 Merge pull request #1421 from pre-commit/quiet_you_pip
disable pip version check in python hooks
2020-04-29 21:26:16 -07:00
Anthony Sottile
e492a5578c disable pip version check in python hooks 2020-04-29 12:11:34 -07:00
Anthony Sottile
ec6ba99715 Merge pull request #1415 from ModischFabrications/post_commit
Implement post-commit
2020-04-28 11:16:08 -07:00
ModischFabrications
26adf1d560 add support for post-commit 2020-04-27 10:55:22 -07:00
Anthony Sottile
3b3b33ea29 Merge pull request #1413 from ModischFabrications/patch-1
Update CONTRIBUTING.md
2020-04-26 18:46:25 -07:00
Robin Modisch
3ff133c166 add instructions to activate virtualenvs on windows 2020-04-26 18:06:39 -07:00
Anthony Sottile
bcff73c9cc v2.3.0 v2.3.0 2020-04-22 14:16:23 -07:00
Anthony Sottile
54fdd6ae5f Merge pull request #1402 from utek/preserve_line_endings
Preserve line ending when running autoupdate
2020-04-19 09:50:59 -07:00
Lukasz Boldys
13d528c569 Preserve line ending when running autoupdate 2020-04-19 09:12:02 -07:00
Anthony Sottile
2960549682 Merge pull request #1399 from pre-commit/upgrade_pip_on_windows
Allow pip to be upgradable on windows
2020-04-17 08:21:46 -07:00