Commit Graph

1796 Commits

Author SHA1 Message Date
Anthony Sottile
e384c182bc Merge pull request #1546 from pre-commit/error_logging_read_only_filesystem
better error handling when Store is readonly
2020-07-25 13:10:39 -07:00
Anthony Sottile
cee834bb5e better error handling when Store is readonly 2020-07-25 12:32:54 -07:00
Anthony Sottile
c0f750d9b3 Merge pull request #1539 from singergr/feat/no-allow-missing-config
Add --no-allow-missing-config option to init-templatedir
2020-07-20 19:21:11 -07:00
Greg Singer
1b435f1f1f add init-templatedir --no-allow-missing-config
Add a `--no-allow-missing-config` option to the `init-templatedir`
command. Enable configuration of a Git template that requires newly
cloned repos to have a `pre-commit` config.
2020-07-20 19:02:35 -07:00
Anthony Sottile
0e851bdf75 Merge pull request #1535 from pre-commit/require_healthy_after_install
require healthy() after installation
2020-07-17 11:50:09 -07:00
Anthony Sottile
7da72563dd require healthy() after installation 2020-07-15 21:07:21 -07:00
Anthony Sottile
2f1d4d10e0 Merge pull request #1531 from pre-commit/upgrade_mypy
upgrade mypy to get typeshed fixes
2020-07-08 14:22:23 -07:00
Anthony Sottile
c9ad2e1451 upgrade mypy to get typeshed fixes 2020-07-08 13:55:28 -07:00
Anthony Sottile
6fe1702ee1 v2.6.0 v2.6.0 2020-07-01 12:39:34 -07:00
Anthony Sottile
e2fe94cbe7 Merge pull request #1521 from pre-commit/npm_config_userconfig
fix node hooks when NPM_CONFIG_USERCONFIG is set
2020-06-19 14:15:32 -07:00
Anthony Sottile
6ec47ea736 fix node hooks when NPM_CONFIG_USERCONFIG is set 2020-06-19 13:58:14 -07:00
Anthony Sottile
7d46852aa9 Merge pull request #1518 from pre-commit/xfail_node_windows
xfail a flaky node test on windows
2020-06-17 22:42:18 -07:00
Anthony Sottile
1392471854 xfail a flaky node test on windows 2020-06-17 12:55:30 -07:00
Anthony Sottile
a336a6b0b5 Merge pull request #1506 from Pierre-Sassoulas/master
Add three missing required dependencies in CONTRIBUTING.md
2020-06-15 14:19:03 -07:00
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
Pierre Sassoulas
fd53cdea17 Add foor missing required dependencies in CONTRIBUTING.md
There could still be missing dependencies, I'm not using a fresh environement
to test that. Also added the specific required git version see
https://github.com/git/git/blob/master/Documentation/RelNotes/2.24.0.txt
2020-06-12 18:38:44 +02: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