Commit Graph

2190 Commits

Author SHA1 Message Date
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
Lee Trout
e58bcb51fc Fix typo in help docs for to-ref and from-ref 2022-03-02 17:33:11 -05:00
Anthony Sottile
7858ad066f Merge pull request #2227 from pre-commit/pre-commit-ci-update-config
[pre-commit.ci] pre-commit autoupdate
2022-01-31 16:25:02 -05:00
pre-commit-ci[bot]
8e9202acb4 [pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/asottile/reorder_python_imports: v2.6.0 → v2.7.1](https://github.com/asottile/reorder_python_imports/compare/v2.6.0...v2.7.1)
2022-01-31 21:02:21 +00:00
Anthony Sottile
f1d2e6c289 Merge pull request #2216 from pre-commit/all-repos_autofix_flake8-typing-imports
upgrade flake8-typing-imports
2022-01-23 21:56:48 -05:00
Anthony Sottile
1112c9f5ce upgrade flake8-typing-imports
Committed via https://github.com/asottile/all-repos
2022-01-23 21:20:59 -05:00
Anthony Sottile
84372e0edc Merge pull request #2215 from pre-commit/drop-py36
drop python 3.6 support
2022-01-18 19:29:54 -05:00
Anthony Sottile
04de6a2e57 drop python 3.6 support
python 3.6 reached end of life on 2021-12-23
2022-01-18 18:44:20 -05:00
Anthony Sottile
d3bdf1403d v2.17.0 v2.17.0 2022-01-18 12:59:39 -05:00
Anthony Sottile
b22b313e4b Merge pull request #2158 from mblayman/lua
Add Lua language support
2022-01-17 16:20:03 -05:00
Anthony Sottile
54331dca6f get lua version from luarocks itself 2022-01-17 15:46:36 -05:00
Matt Layman
3f8be7400d Add naive and untested version of Lua language support. 2022-01-17 13:43:38 -05:00
Anthony Sottile
7a305e5d9a Merge pull request #2210 from pre-commit/git-version
add git version to error output
2022-01-16 12:42:43 -05:00
Anthony Sottile
c05f58b776 add git version to error output 2022-01-16 07:20:12 -08:00
Anthony Sottile
12b482345b Merge pull request #2207 from xhochy/mamba
Add mamba support to `language: conda`
2022-01-15 17:57:13 -05:00
Uwe L. Korn
83aa65c429 Add mamba support to language: conda 2022-01-15 16:28:44 -05:00
Anthony Sottile
657e76ba77 Merge pull request #2205 from jalessio/jamie/upgrade-rbenv
Update rbenv / ruby-build versions
2022-01-15 16:19:59 -05:00
Jamie Alessio
428dc6e46e Update rbenv / ruby-build versions 2022-01-15 16:19:28 -05:00
Anthony Sottile
b944395d66 Merge pull request #2198 from pre-commit/pre-commit-ci-update-config
[pre-commit.ci] pre-commit autoupdate
2022-01-10 16:17:42 -05:00
Anthony Sottile
bba6cf4296 Revert "work around python/mypy#11852"
This reverts commit 83675fe768.
2022-01-10 15:35:33 -05:00