Anthony Sottile
f15cfbb208
v2.9.2
v2.9.2
2020-11-25 18:39:54 -08:00
Anthony Sottile
bf85379619
Merge pull request #1716 from pre-commit/types_or_default
...
fix the default value for types_or
2020-11-25 18:37:50 -08:00
Anthony Sottile
89ab609732
fix the default value for types_or
2020-11-25 18:21:37 -08:00
Anthony Sottile
b5baf5c807
Merge pull request #1714 from pre-commit/sha256sum_pyz
...
also produce sha256sum of pyz on creation
2020-11-25 14:09:42 -08:00
Anthony Sottile
0bd6dfc1a2
also produce sha256sum of pyz on creation
2020-11-25 13:45:22 -08:00
Anthony Sottile
c4f2c6d24d
v2.9.1
v2.9.1
2020-11-25 13:40:28 -08:00
Anthony Sottile
a9ed1de5f7
Merge pull request #1713 from pre-commit/pyvenv_utf8_windows
...
fix for base executable with non-ascii characters on windows
2020-11-25 13:26:19 -08:00
Anthony Sottile
7486dee082
fix for base executable with non-ascii characters on windows
2020-11-25 12:44:48 -08:00
Anthony Sottile
029f9cca97
Merge pull request #1707 from paulhfischer/warn_on_globs_instead_of_regex
...
added warning if globs are used instead of regex
2020-11-23 11:52:05 -08:00
Paul Fischer
610716d3d1
added warning if globs are used instead of regex
2020-11-22 18:53:48 -08:00
Anthony Sottile
6e37f197b0
Merge pull request #1709 from paulhfischer/fix_missing_hooks_autoupdate_message
...
fixed message if repo couldn't be updated due to missing hook(s)
2020-11-22 14:03:04 -08:00
Paul Fischer
53109a0127
fixed message if repo couldn't be updated due to missing hook(s)
2020-11-22 13:34:10 -08:00
Anthony Sottile
099213f365
v2.9.0
v2.9.0
2020-11-21 13:33:20 -08:00
Anthony Sottile
b368fbd1a0
Merge pull request #1704 from Vynce/ignore-submodules
...
Improve performance by ignoring submodules
2020-11-19 22:27:13 -08:00
Michael Vincent
120d60223a
Improve performance by ignoring submodules
...
When git status runs in a repo with submodules, it'll recursively run
git status in every submodule as well by default (sequentially).
git status is substantially slower on Windows than on Linux. git diff
behaves similarly to git status in terms of running recursively within
all submodules. In repos with hundreds of submodules, this quickly adds
up when git status/diff are called multiple times. Pre-commit runs
git status once at the beginning of an operation and then runs git diff
before and after each hook. These calls quickly add up and make
pre-commit unusable in large repos with lots of submodules.
This commit drastically improves performance in repos with lots of
submodules and fixes #1701 by telling git status and git diff to ignore
submodules. This change is not expected to have any negative effect on
existing hooks because each submodule should manage its own hooks
instead of relying on superproject hooks to manipulate their contents.
2020-11-19 23:26:05 -06:00
Anthony Sottile
84195868fc
Merge pull request #1700 from pre-commit/rbenv_default_more
...
fix for rbenv used outside of pre-commit and language_version: default
2020-11-19 17:45:44 -08:00
Anthony Sottile
e5a5ae8f24
Merge pull request #1703 from pre-commit/all-repos_autofix_gh-sponsors
...
Add link to GitHub Sponsors + Open Collective
2020-11-19 17:45:33 -08:00
Anthony Sottile
184e1908c8
Add link to GitHub Sponsors + Open Collective
...
at the time of writing I am currently unemployed. I'd love to make open
source a full time career. if you or your company is deriving value from
this free software, please consider [sponsoring] or [supporting].
[sponsoring]: https://github.com/sponsors/asottile
[supporting]: https://opencollective.com/pre-commit
Committed via https://github.com/asottile/all-repos
2020-11-19 17:13:02 -08:00
Anthony Sottile
a3e3b3d8aa
fix for rbenv used outside of pre-commit and language_version: default
2020-11-17 11:58:46 -08:00
Anthony Sottile
59acc7e48a
Merge pull request #1698 from pre-commit/pre-commit-ci-update-config
...
[pre-commit.ci] pre-commit autoupdate
2020-11-16 09:48:49 -08:00
pre-commit-ci[bot]
6dbd53b387
[pre-commit.ci] pre-commit autoupdate
2020-11-16 17:04:58 +00:00
Anthony Sottile
8d28c9ab40
Merge pull request #1691 from pre-commit/slightly_simpler_enum
...
use slightly simpler enum syntax
2020-11-09 13:24:05 -08:00
Anthony Sottile
55cdfc6fd2
use slightly simpler enum syntax
2020-11-09 12:29:57 -08:00
Anthony Sottile
e836e55489
Merge pull request #1688 from pre-commit/simplify_new_rev
...
add test to guard against yaml_dump
2020-11-06 22:39:59 -08:00
Anthony Sottile
13242f55c5
add test to guard against yaml_dump
2020-11-06 17:07:37 -08:00
Anthony Sottile
1494faee1f
Merge pull request #1687 from pre-commit/simple_rev_line_re
...
remove DOTALL on REV_LINE_RE
2020-11-06 16:32:46 -08:00
Anthony Sottile
64d57ba466
remove DOTALL on REV_LINE_RE
2020-11-06 14:36:43 -08:00
Anthony Sottile
10b0c113a4
Merge pull request #1686 from pre-commit/cmd_is_the_worst
...
improve xargs when running windows batch files
2020-11-06 14:09:11 -08:00
Anthony Sottile
14f984fbcf
improve xargs when running windows batch files
2020-11-06 13:09:01 -08:00
Anthony Sottile
c972205214
Merge pull request #1684 from pre-commit/migrate_config_less_work
...
only perform migrate_config parsing if it is a list
2020-11-05 16:27:23 -08:00
Anthony Sottile
1975c056bc
Merge pull request #1683 from pre-commit/textwrap_indent
...
use textwrap.indent instead of _indent
2020-11-05 16:22:17 -08:00
Anthony Sottile
b4ab84df58
only perform migrate_config parsing if it is a list
2020-11-05 16:05:41 -08:00
Anthony Sottile
64876697b5
use textwrap.indent instead of _indent
2020-11-05 15:59:46 -08:00
Anthony Sottile
392a1fe16d
Merge pull request #1678 from rkm/dotnet-fix-cleanup
...
fix dotnet build cleanup
2020-11-03 10:33:15 -08:00
Ruairidh MacLeod
aa8023407e
fix dotnet build cleanup
2020-11-03 08:53:17 -08:00
Anthony Sottile
3fa9d3d758
Merge pull request #1677 from MarcoGorelli/types_or
...
Add types_or
2020-11-02 16:01:04 -08:00
Marco Gorelli
62f668fc3f
add types_or
2020-11-02 17:25:10 +00:00
Anthony Sottile
3112e08088
v2.8.2
v2.8.2
2020-10-30 13:36:35 -07:00
Anthony Sottile
4aa249c8a5
Merge pull request #1672 from pre-commit/ruby_default
...
don't call rbenv install for language_version = default
2020-10-30 13:22:06 -07:00
Anthony Sottile
e05ac1e91f
don't call ruby install for language_version = default
2020-10-29 19:45:06 -07:00
Anthony Sottile
b2207e5b04
v2.8.1
v2.8.1
2020-10-28 23:04:31 -07:00
Anthony Sottile
8fb7365a61
Merge pull request #1669 from pre-commit/not_a_shim_when_home_is_slash
...
allow default language_version of system when homedir is /
2020-10-28 23:03:34 -07:00
Anthony Sottile
62b8d0ed82
allow default language_version of system when homedir is /
2020-10-28 22:56:10 -07:00
Anthony Sottile
711248f678
show features first
2020-10-28 22:01:15 -07:00
Anthony Sottile
a3c9721d8f
v2.8.0
v2.8.0
2020-10-28 21:59:03 -07:00
Anthony Sottile
763dbc0ac6
Merge pull request #1668 from pre-commit/avoid_shims
...
don't use system for ruby/node if it is a shim exe
2020-10-28 17:22:27 -07:00
Anthony Sottile
7f9f66e542
don't use system for ruby/node if it is a shim exe
2020-10-28 16:52:55 -07:00
Anthony Sottile
0c339e0647
Merge pull request #1667 from pre-commit/improve_node_install
...
improve node install by using npm pack
2020-10-28 16:03:52 -07:00
Anthony Sottile
29f3e67655
improve node install by using npm pack
2020-10-28 15:13:53 -07:00
Anthony Sottile
2779bde2a2
Merge pull request #1666 from pre-commit/mutable_mapping
...
Replace EnvironT with MutableMapping[str, str]
2020-10-28 14:03:14 -07:00