Anthony Sottile
d8b59300ce
remove imports from TYPE_CHECKING (py37+)
...
Committed via https://github.com/asottile/all-repos
2022-07-04 17:57:38 -04:00
Anthony Sottile
170335cbb6
Merge pull request #2429 from pre-commit/remove-config-option-when-unused
...
remove unused --config options from commands which don't use it
2022-06-22 23:24:27 -04:00
Anthony Sottile
53643def07
remove unused --config options from commands which don't use it
2022-06-22 16:06:15 -07:00
Anthony Sottile
c69ae26c1f
Merge pull request #2421 from pre-commit/pre-commit-ci-update-config
...
[pre-commit.ci] pre-commit autoupdate
2022-06-13 18:47:43 -04:00
pre-commit-ci[bot]
efc1d059fa
[pre-commit.ci] pre-commit autoupdate
...
updates:
- [github.com/pre-commit/pre-commit-hooks: v4.2.0 → v4.3.0](https://github.com/pre-commit/pre-commit-hooks/compare/v4.2.0...v4.3.0 )
- [github.com/asottile/pyupgrade: v2.32.1 → v2.34.0](https://github.com/asottile/pyupgrade/compare/v2.32.1...v2.34.0 )
- [github.com/pre-commit/mirrors-mypy: v0.960 → v0.961](https://github.com/pre-commit/mirrors-mypy/compare/v0.960...v0.961 )
2022-06-13 21:57:06 +00:00
Anthony Sottile
4738d06e71
Merge pull request #2407 from M-Whitaker/main
...
Expose prepare-commit-msg arguments as environment vars
2022-06-11 14:56:13 -04:00
Matt Whitaker
702ebf402c
Expose prepare-commit-msg arguments as environment vars
2022-06-11 14:25:55 -04:00
Anthony Sottile
44cb80f74a
Merge pull request #2410 from pre-commit/pre-commit-ci-update-config
...
[pre-commit.ci] pre-commit autoupdate
2022-05-30 17:09:06 -04:00
pre-commit-ci[bot]
50589386af
[pre-commit.ci] pre-commit autoupdate
...
updates:
- [github.com/pre-commit/mirrors-mypy: v0.950 → v0.960](https://github.com/pre-commit/mirrors-mypy/compare/v0.950...v0.960 )
2022-05-30 20:32:51 +00:00
Anthony Sottile
fb0ccf3546
correct one slight inaccuracy in language docs
2022-05-26 09:43:30 -04:00
Anthony Sottile
e93c1c6f27
Merge pull request #2393 from gaige/set-default-branch-for-tests-2391
...
force default branch name for tests
2022-05-14 22:21:07 -04:00
Gaige B. Paulsen
34e97023f4
force default branch name for tests
2022-05-14 18:40:37 -07:00
Anthony Sottile
9eccd9c35b
Merge pull request #2390 from gaige/main
...
Switch pty use to fix solaris
2022-05-14 09:38:52 -04:00
Gaige B. Paulsen
a84136d070
Switch pty use to fix solaris
...
Use the child instead of parent fd when manipulating pty for color.
2022-05-14 09:15:03 +00:00
Anthony Sottile
3cdc6c9d81
Merge pull request #2387 from pre-commit/pre-commit-ci-update-config
...
[pre-commit.ci] pre-commit autoupdate
2022-05-09 14:10:50 -07:00
pre-commit-ci[bot]
323fd0d188
[pre-commit.ci] pre-commit autoupdate
...
updates:
- [github.com/asottile/pyupgrade: v2.32.0 → v2.32.1](https://github.com/asottile/pyupgrade/compare/v2.32.0...v2.32.1 )
2022-05-09 20:28:33 +00:00
Anthony Sottile
fd78116f5c
Merge pull request #2384 from narpfel/gem-no-user-install
...
Force gem installation into `GEM_HOME`
2022-05-07 14:28:31 -07:00
Paul Gey
a54391e96f
Force gem installation into GEM_HOME
...
When `--user-install` is set in the gemrc config file, `gem` ignores
`GEM_HOME`. `--no-user-install` prevents this behaviour.
2022-05-07 20:44:02 +02:00
Anthony Sottile
cc9d950601
v2.19.0
v2.19.0
2022-05-05 06:54:43 -07:00
Anthony Sottile
96bf685380
fix non-unique id
2022-05-04 21:22:24 -04:00
Anthony Sottile
1b8665571e
Merge pull request #2375 from pre-commit/search-the-tracker
...
add search term required input to issue template
2022-05-04 18:21:39 -07:00
Anthony Sottile
af467017c2
add search term required input to issue template
2022-05-04 17:58:31 -07:00
Anthony Sottile
bec1728133
Merge pull request #2370 from pre-commit/pre-commit-ci-update-config
...
[pre-commit.ci] pre-commit autoupdate
2022-05-02 16:22:55 -04:00
pre-commit-ci[bot]
81129cefa5
[pre-commit.ci] pre-commit autoupdate
...
updates:
- [github.com/asottile/reorder_python_imports: v3.0.1 → v3.1.0](https://github.com/asottile/reorder_python_imports/compare/v3.0.1...v3.1.0 )
- [github.com/pre-commit/mirrors-mypy: v0.942 → v0.950](https://github.com/pre-commit/mirrors-mypy/compare/v0.942...v0.950 )
2022-05-02 20:18:58 +00:00
Anthony Sottile
7f189260e6
Merge pull request #2362 from pre-commit/deprecate-separate-entry-points
...
deprecate pre-commit-validate-{config,manifest}
2022-04-24 20:03:35 -04:00
Anthony Sottile
3929fe4a63
upgrade CI to ubuntu-latest / windows-latest
2022-04-24 19:10:09 -04:00
Anthony Sottile
777ffdd692
deprecate pre-commit-validate-{config,manifest}
2022-04-24 19:08:47 -04:00
Anthony Sottile
e1ce4c0bf3
Merge pull request #2349 from pre-commit/pre-commit-ci-update-config
...
[pre-commit.ci] pre-commit autoupdate
2022-04-18 16:24:09 -04:00
pre-commit-ci[bot]
18f1cdf470
[pre-commit.ci] pre-commit autoupdate
...
updates:
- [github.com/asottile/add-trailing-comma: v2.2.2 → v2.2.3](https://github.com/asottile/add-trailing-comma/compare/v2.2.2...v2.2.3 )
2022-04-18 19:50:30 +00:00
Anthony Sottile
f7940112a2
Merge pull request #2342 from jalessio/upgrade-to-ruby-build-20220412
...
Update ruby-build to v20220412
2022-04-17 10:44:37 -04:00
Jamie Alessio
392bc33466
Update ruby-build to v20220412
2022-04-17 07:12:48 -07:00
Anthony Sottile
89a50ed64d
Merge pull request #2348 from pre-commit/healthy-info
...
add additional info to healthy-after-install check
2022-04-16 17:16:19 -04:00
Anthony Sottile
07554e9525
add additional info to healthy-after-install check
2022-04-16 16:46:28 -04:00
Anthony Sottile
2562c7f796
Merge pull request #2345 from wwade/main
...
pre-push: fix stdin line splitting when <local ref> has whitespace
2022-04-14 18:17:56 -04:00
Wade Carpenter
feb0d34213
pre-push: fix stdin line splitting when <local ref> has whitespace
...
From the `pre-push.sample` file:
> Information about the commits which are being pushed is supplied as
> lines to the standard input in the form:
>
> <local ref> <local sha1> <remote ref> <remote sha1>
When `<local ref>` is not simply a branch name, but a more general
ref (see git-rev-parse(1)), it could contain whitespace, and that
breaks the split() call that expected only 3 spaces in the line.
Changed to use `rsplit(maxsplit=3)` since only the <local ref> is
likely to have embedded whitespace.
Added a new test case for the same.
2022-04-14 14:27:46 -07:00
Anthony Sottile
f9473e756d
Merge pull request #2343 from pre-commit/golang-1-18
...
fix tests for golang 1.18
2022-04-13 18:25:13 -04:00
Anthony Sottile
b952c99898
fix tests for golang 1.18
2022-04-13 17:52:55 -04:00
Anthony Sottile
7189f340a9
Merge pull request #2339 from pre-commit/pre-commit-ci-update-config
...
[pre-commit.ci] pre-commit autoupdate
2022-04-11 20:01:17 -04:00
pre-commit-ci[bot]
e3ae0664bb
[pre-commit.ci] pre-commit autoupdate
...
updates:
- [github.com/pre-commit/pre-commit-hooks: v4.1.0 → v4.2.0](https://github.com/pre-commit/pre-commit-hooks/compare/v4.1.0...v4.2.0 )
- [github.com/asottile/pyupgrade: v2.31.1 → v2.32.0](https://github.com/asottile/pyupgrade/compare/v2.31.1...v2.32.0 )
2022-04-11 20:54:45 +00:00
Anthony Sottile
ecd7363676
Merge pull request #2332 from WallucePinkham/main
...
Handling multiple outputs from dotnet pack
2022-04-07 14:13:54 -04:00
Walluce Pinkham
9b3df4b90e
Handling multiple outputs from dotnet pack
2022-04-07 13:16:56 -04:00
Anthony Sottile
26a3e6f9ff
Merge pull request #2329 from pre-commit/pre-commit-ci-update-config
...
[pre-commit.ci] pre-commit autoupdate
2022-04-04 16:03:56 -04:00
pre-commit-ci[bot]
c8ce94b40e
[pre-commit.ci] pre-commit autoupdate
...
updates:
- [github.com/asottile/setup-cfg-fmt: v1.20.0 → v1.20.1](https://github.com/asottile/setup-cfg-fmt/compare/v1.20.0...v1.20.1 )
- [github.com/asottile/add-trailing-comma: v2.2.1 → v2.2.2](https://github.com/asottile/add-trailing-comma/compare/v2.2.1...v2.2.2 )
2022-04-04 20:00:42 +00:00
Anthony Sottile
0276e25f71
v2.18.1
v2.18.1
2022-04-02 21:32:54 -04:00
Anthony Sottile
f5af0a9ff4
Merge pull request #2324 from pre-commit/local-hooks-py27
...
fix python 2.7 `repo: local` hooks
2022-04-02 21:31:34 -04:00
Anthony Sottile
1722448c3b
fix python 2.7 repo: local hooks
2022-04-02 21:19:13 -04:00
Anthony Sottile
c5a39ae77e
v2.18.0
v2.18.0
2022-04-02 19:36:45 -04:00
Anthony Sottile
3aa2ce89e8
Merge pull request #2323 from pre-commit/move-try-slightly
...
move patch discarding inside `try` for staged_files_only
2022-04-02 19:23:04 -04:00
Anthony Sottile
a138c85e64
move patch discarding inside try for staged_files_only
...
there's a rare race outlined in #2287
2022-04-02 16:24:57 -04:00
Anthony Sottile
7602abc3cf
Merge pull request #2322 from pre-commit/default-install-hook-types
...
implement default_install_hook_types
2022-04-02 15:36:59 -04:00