Commit Graph

2000 Commits

Author SHA1 Message Date
Lorenz
788aec156f local r hooks should not get prefix for path 2021-05-05 18:15:56 -07:00
Anthony Sottile
c082292bb8 Merge pull request #1841 from lorenzwalthert/renv-activate2
Avoid warnings with R hooks when renv version don't match
2021-05-04 19:27:44 -07:00
Anthony Sottile
0107df0a2b Merge pull request #1898 from lorenzwalthert/idenfity-package-over-package-field
Use more common package definition for R
2021-05-04 18:59:23 -07:00
Lorenz
b8fff8c508 Avoid warnings with R hooks when renv version don't match 2021-05-04 18:56:43 -07:00
Anthony Sottile
c753eeb6ec Merge pull request #1899 from pre-commit/pre-commit-ci-update-config
[pre-commit.ci] pre-commit autoupdate
2021-05-03 10:54:56 -07:00
pre-commit-ci[bot]
6485dd45a3 [pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/pre-commit/mirrors-autopep8: v1.5.6 → v1.5.7](https://github.com/pre-commit/mirrors-autopep8/compare/v1.5.6...v1.5.7)
- [github.com/asottile/pyupgrade: v2.13.0 → v2.14.0](https://github.com/asottile/pyupgrade/compare/v2.13.0...v2.14.0)
2021-05-03 17:18:16 +00:00
Lorenz
a19a59652f Use more common package definition 2021-05-03 18:08:22 +02:00
Anthony Sottile
7f13fa5d5f Merge pull request #1888 from okainov/docker-fix-2
fix: fix path mounting when running in Docker
2021-04-28 19:51:27 -07:00
Oleg Kainov
6d5d386c9f fix: fix path mounting when running in Docker
Currently pre-commit mounts the current directory to /src and uses
current directory name as mount base.
However this does not work when pre-commit is run inside the container
on some mounted path already, because mount points are relative to the
host, not to the container.

Fixes #1387
2021-04-28 19:21:34 -07:00
Anthony Sottile
52e1dd6099 Merge pull request #1890 from pre-commit/pre-commit-ci-update-config
[pre-commit.ci] pre-commit autoupdate
2021-04-26 11:05:21 -07:00
pre-commit-ci[bot]
60bf370a7d [pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/asottile/pyupgrade: v2.12.0 → v2.13.0](https://github.com/asottile/pyupgrade/compare/v2.12.0...v2.13.0)
- [github.com/asottile/reorder_python_imports: v2.4.0 → v2.5.0](https://github.com/asottile/reorder_python_imports/compare/v2.4.0...v2.5.0)
2021-04-26 17:18:40 +00:00
Anthony Sottile
24d9dc7469 Merge pull request #1875 from pre-commit/skip-installation-for-skip
skip installation for SKIP'd hooks
2021-04-19 19:40:51 -07:00
Anthony Sottile
9b4e7691f4 Merge pull request #1883 from pre-commit/pre-commit-ci-update-config
[pre-commit.ci] pre-commit autoupdate
2021-04-19 11:42:55 -07:00
pre-commit-ci[bot]
de2b7b6dcc [pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/PyCQA/flake8: 3.9.0 → 3.9.1](https://github.com/PyCQA/flake8/compare/3.9.0...3.9.1)
2021-04-19 17:08:45 +00:00
Anthony Sottile
8fc66027f7 v2.12.1 v2.12.1 2021-04-16 14:14:17 -07:00
Anthony Sottile
52ada7c614 Merge pull request #1881 from adamchainz/issue_1880_patch_naming
Include PID in patch filename
2021-04-16 14:12:38 -07:00
Adam Johnson
4f2069ee9a Include PID in patch filename
Fixes #1880.
2021-04-16 21:35:49 +01:00
Anthony Sottile
559d8a78d1 Merge pull request #1877 from pre-commit/pre-commit-ci-update-config
[pre-commit.ci] pre-commit autoupdate
2021-04-12 10:40:04 -07:00
pre-commit-ci[bot]
30649e7fee [pre-commit.ci] pre-commit autoupdate 2021-04-12 17:09:59 +00:00
Anthony Sottile
12a7075fda skip installation for SKIP'd hooks 2021-04-10 00:37:59 -07:00
Anthony Sottile
8dede082d5 Merge pull request #1873 from pre-commit/all-repos_autofix_azure-pipelines-autoupdate
Update azure-pipelines template repositories
2021-04-08 20:08:57 -07:00
Anthony Sottile
5deeb82e0e Update azure-pipelines template repositories
Committed via https://github.com/asottile/all-repos
2021-04-08 19:22:17 -07:00
Anthony Sottile
a1b462c94a v2.12.0 v2.12.0 2021-04-06 08:18:14 -07:00
Anthony Sottile
baadc2dc93 Merge pull request #1868 from pre-commit/fix_archive_permissions
fix archive permissions for ruby tar.gz roots
2021-04-06 08:14:11 -07:00
Anthony Sottile
d5eda977ce fix archive permissions for ruby tar.gz roots 2021-04-06 07:55:32 -07:00
Anthony Sottile
bd1658baae Merge pull request #1866 from pre-commit/pre-commit-ci-update-config
[pre-commit.ci] pre-commit autoupdate
2021-04-05 11:30:44 -07:00
pre-commit-ci[bot]
5827a93c2f [pre-commit.ci] pre-commit autoupdate 2021-04-05 17:08:42 +00:00
Anthony Sottile
008717fcc9 Merge pull request #1864 from pre-commit/batch_additional_headroom
give xargs batch file execution additional headroom
2021-04-04 10:32:11 -07:00
Anthony Sottile
fb590d41ff give xargs batch file execution additional headroom 2021-04-04 10:00:55 -07:00
Anthony Sottile
e431b2b898 Merge pull request #1854 from pre-commit/upgrade_ruby_build
upgrade ruby-build
2021-03-23 07:39:23 -07:00
Anthony Sottile
3bada745ea upgrade ruby-build 2021-03-22 19:41:30 -07:00
Anthony Sottile
060b719d44 Merge pull request #1851 from pre-commit/pre-commit-ci-update-config
[pre-commit.ci] pre-commit autoupdate
2021-03-22 12:10:59 -07:00
pre-commit-ci[bot]
e8cb09f70f [pre-commit.ci] pre-commit autoupdate 2021-03-22 17:03:06 +00:00
Anthony Sottile
d6ec6cf719 Merge pull request #1839 from pre-commit/pre-commit-ci-update-config
[pre-commit.ci] pre-commit autoupdate
2021-03-15 12:15:56 -07:00
pre-commit-ci[bot]
4a440f67c8 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2021-03-15 17:00:34 +00:00
pre-commit-ci[bot]
74bbc72d28 [pre-commit.ci] pre-commit autoupdate 2021-03-15 17:00:05 +00:00
Anthony Sottile
8aec369df7 v2.11.1 v2.11.1 2021-03-09 16:57:10 -08:00
Anthony Sottile
478efe55c6 Merge pull request #1831 from lorenzwalthert/renv-fix
Fix r hooks when hook repo is a package
2021-03-09 16:55:52 -08:00
Lorenz
cf57e35e37 install package from prefix_dir, not env_dir (which yields empty pkg) 2021-03-09 16:44:36 -08:00
Anthony Sottile
54c49abbcb v2.11.0 v2.11.0 2021-03-07 14:58:42 -08:00
Anthony Sottile
b3750cac62 Merge pull request #1828 from pre-commit/worktree_in_git
add test for worktree inside of .git dir
2021-03-07 14:52:44 -08:00
Anthony Sottile
14d3af25eb add test for worktree inside of .git dir 2021-03-07 14:43:32 -08:00
Anthony Sottile
19bffaa2fd Merge pull request #1799 from lorenzwalthert/renv
Support for R / renv as a language
2021-03-07 14:28:33 -08:00
Lorenz
f1502119a2 add support for R via renv 2021-03-07 13:58:14 -08:00
Anthony Sottile
b193d9e67b Merge pull request #1800 from psacawa/post-merge-pr
Add support for post-merge hooks
2021-02-27 09:19:40 -08:00
Anthony Sottile
a38f8d059e Merge pull request #1818 from rafikdraoui/go1.16-support
Add support for Go 1.16
2021-02-26 18:38:45 -08:00
Rafik Draoui
fe1f56c08f Add support for Go 1.16
Go 1.16 changes the way modules are handled. It now expects Go projects
to have non-empty `go.mod` files.

This change is compatible with Go 1.15.

Fixes #1815
2021-02-25 19:25:39 -04:00
Anthony Sottile
f3de91c2bb Merge pull request #1814 from pre-commit/subst
Fix pre-commit install on subst drives
2021-02-23 19:20:33 -08:00
Paweł Sacawa
6b73138c73 Add: post-merge hook support 2021-02-23 19:00:02 -08:00
Anthony Sottile
f2dffc5237 Merge pull request #1809 from JamMarHer/patch-1
Instruct users how to prevent a warning.
2021-02-23 18:54:23 -08:00