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
Anthony Sottile
e11163d010
Merge pull request #2301 from jeff-m-sullivan/rscript-path
...
use Rscript path relative to $R_HOME/bin/...
2022-04-02 15:30:52 -04:00
Anthony Sottile
d65016042b
Merge pull request #2252 from daschuer/worktree_fix
...
Use the correct .git path in case of worktrees.
2022-04-02 15:30:45 -04:00
Anthony Sottile
fd0177ae3a
implement default_install_hook_types
...
this implements a configurable fallback for the default value of `pre-commit install`
2022-04-02 15:11:31 -04:00
Daniel Schürmann
ba132f0200
Split get_git_dir() into get_git_dir() and get_git_common_dir()
...
This fixes the conflicted state check when using work trees. #1972
2022-04-02 15:07:22 -04:00
Jeff Sullivan
764a0db68e
use Rscript path relative to $R_HOME/bin/...
...
Co-authored-by: Lorenz Walthert <lorenz.walthert@icloud.com >
2022-04-02 14:22:29 -04:00
Anthony Sottile
934afb85a4
Merge pull request #2319 from jalessio/jamie/upgrade-rbenv-and-ruby-build
...
Update ruby-build to latest available (v20220324)
2022-03-31 14:35:15 -04:00
Jamie Alessio
9021fa15dd
Update ruby-build to latest available
2022-03-31 14:05:30 -04:00
Anthony Sottile
b97bb1809f
Merge pull request #2312 from mblayman/multiple-tags
...
Pick a tag if multiple tags exist on a SHA.
2022-03-31 11:13:45 -04:00
Matt Layman
e8b46c1b16
Pick a tag if multiple tags exist on a SHA.
...
Fixes #2311
2022-03-31 10:37:51 -04:00
Anthony Sottile
a522507020
Merge pull request #2315 from pre-commit/error-messages
...
include the configured value in the language_version / additional_dependencies error
2022-03-30 12:54:37 -04:00
Anthony Sottile
2188c0fd2c
include the configured value in the language_version / additional_dependencies error
2022-03-30 11:14:00 -04:00
Anthony Sottile
db44ad3022
Merge pull request #2304 from pre-commit/all-repos_autofix_reorder-pre-commit-config
...
reorder pre-commit config
2022-03-25 15:01:02 -04:00
Anthony Sottile
3b98040623
fix pre-commit issues
2022-03-25 14:31:33 -04:00
Anthony Sottile
97419b34de
reorder pre-commit config
...
Committed via https://github.com/asottile/all-repos
2022-03-25 14:12:02 -04:00
Anthony Sottile
98b9b70aa4
Merge pull request #2302 from pre-commit/master-to-main
...
update master to main
2022-03-24 13:56:33 -04:00
Anthony Sottile
525191f34b
update master to main
2022-03-24 13:52:25 -04:00
Anthony Sottile
354b900f15
Merge pull request #2297 from pre-commit/pre-commit-ci-update-config
...
[pre-commit.ci] pre-commit autoupdate
2022-03-21 19:03:59 -04:00
pre-commit-ci[bot]
28a5a28b39
[pre-commit.ci] pre-commit autoupdate
...
updates:
- [github.com/pre-commit/mirrors-mypy: v0.940 → v0.941](https://github.com/pre-commit/mirrors-mypy/compare/v0.940...v0.941 )
2022-03-21 22:31:22 +00:00
Anthony Sottile
4421cb9424
Merge pull request #2293 from Holzhaus/coursier-executable-names
...
coursier: Add support for both `cs` and `coursier` executable names
2022-03-17 19:05:17 -04:00
Jan Holthuis
678ef6b9fd
coursier: Add support for both cs and coursier executable names
...
On some systems, the executable might be named `coursier` instead of
`cs`. For example, this is the case on Arch Linux when using the AUR
package, or when following the official instructions when installing the
JAR-based launcher:
https://get-coursier.io/docs/cli-installation#jar-based-launcher
2022-03-17 22:25:22 +01:00
Anthony Sottile
da55e97df8
Merge pull request #2288 from pre-commit/pre-commit-ci-update-config
...
[pre-commit.ci] pre-commit autoupdate
2022-03-15 11:49:36 -04:00
Anthony Sottile
a8225a250b
convince mypy that these are the same
2022-03-14 18:37:07 -04:00
pre-commit-ci[bot]
9516ed41aa
[pre-commit.ci] pre-commit autoupdate
...
updates:
- [github.com/asottile/pyupgrade: v2.31.0 → v2.31.1](https://github.com/asottile/pyupgrade/compare/v2.31.0...v2.31.1 )
- [github.com/asottile/reorder_python_imports: v2.7.1 → v3.0.1](https://github.com/asottile/reorder_python_imports/compare/v2.7.1...v3.0.1 )
- [github.com/pre-commit/mirrors-mypy: v0.931 → v0.940](https://github.com/pre-commit/mirrors-mypy/compare/v0.931...v0.940 )
2022-03-14 22:18:01 +00:00
Anthony Sottile
f5116bc88d
Merge pull request #2285 from pre-commit/all-repos_autofix_gitignore-cleanup
...
remove unneeded gitignore lines
2022-03-13 20:20:38 -04:00
Anthony Sottile
a85df8027b
remove unneeded gitignore lines
...
- coverage-html: coverage>=6.2 writes a .gitignore file
- mypy_cache: mypy>=0.770 writes a .gitignore file
- pytest_cache: pytest>=3.8.1 writes a .gitignore file
- venv: virtualenv>=20.0.21 writes a .gitignore file
Committed via https://github.com/asottile/all-repos
2022-03-13 19:55:30 -04:00
Anthony Sottile
d525928665
Merge pull request #2272 from VincentBerthier/master
...
GIT_HTTP_PROXY_AUTHMETHOD kept in env variables
2022-03-05 18:26:51 -05:00
Anthony Sottile
2ed0eaa121
Merge pull request #2277 from lorenzwalthert/always-binary
...
Avoid build-time dependencies by prioritising binary over source dependencies for R
2022-03-05 18:26:34 -05:00
Lorenz Walthert
65755af7e3
inline options() to always install binaries
2022-03-05 21:04:01 +01:00
VincentBerthier
07f441584b
GIT_HTTP_PROXY_AUTHMETHOD kept in env variables
2022-03-04 20:18:27 +01:00
Anthony Sottile
e0e536b54e
Merge pull request #2266 from leetrout/patch-1
...
Fix typo in help docs for to-ref and from-ref
2022-03-02 18:09:02 -05:00