Commit Graph

2137 Commits

Author SHA1 Message Date
Anthony Sottile
cccbc9d280 Merge pull request #2183 from pre-commit/pre-commit-ci-update-config
[pre-commit.ci] pre-commit autoupdate
2022-01-03 15:44:21 -05:00
pre-commit-ci[bot]
8be0a10e91 [pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/pre-commit/mirrors-autopep8: v1.5.7 → v1.6.0](https://github.com/pre-commit/mirrors-autopep8/compare/v1.5.7...v1.6.0)
- [github.com/asottile/pyupgrade: v2.29.1 → v2.31.0](https://github.com/asottile/pyupgrade/compare/v2.29.1...v2.31.0)
2022-01-03 20:02:48 +00:00
Anthony Sottile
e97140e4d0 Merge pull request #2181 from pre-commit/forbid-meta-override-entry
forbid overriding `entry` for meta hooks
2021-12-31 21:00:44 -05:00
Anthony Sottile
d3b4f737b9 forbid overriding entry for meta hooks 2021-12-31 17:31:12 -08:00
Anthony Sottile
16f68254a8 Merge pull request #2177 from pre-commit/pre-commit-ci-update-config
[pre-commit.ci] pre-commit autoupdate
2021-12-27 19:08:23 -05:00
Anthony Sottile
83675fe768 work around python/mypy#11852 2021-12-27 18:32:56 -05:00
pre-commit-ci[bot]
d7ac975454 [pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/pre-commit/pre-commit-hooks: v4.0.1 → v4.1.0](https://github.com/pre-commit/pre-commit-hooks/compare/v4.0.1...v4.1.0)
- [github.com/pre-commit/mirrors-mypy: v0.920 → v0.930](https://github.com/pre-commit/mirrors-mypy/compare/v0.920...v0.930)
2021-12-27 20:06:12 +00:00
Anthony Sottile
0248dd4a0b Merge pull request #2170 from lorenzwalthert/fix-renv-in-wd
Make `language: r` work when there is already a renv in the working directory and `RENV_PROJECT` is set
2021-12-24 16:52:06 -05:00
Lorenz Walthert
1617692f12 no docs 2021-12-24 14:52:46 +01:00
Lorenz Walthert
b7331b653a unset renv project 2021-12-24 14:36:43 +01:00
Lorenz Walthert
ba496b8369 better r path detection 2021-12-24 14:01:18 +01:00
Anthony Sottile
44687a3cda Merge pull request #2167 from pre-commit/dead
run dead, remove dead code
2021-12-22 16:34:39 -05:00
Anthony Sottile
42b0a263a6 run dead, remove dead code
via https://github.com/asottile/dead
2021-12-22 11:30:55 -08:00
Anthony Sottile
de177e8850 Merge pull request #2164 from pre-commit/py2-cleanup
minor py2 cleanup for sys.stderr.buffer
2021-12-20 22:03:16 -05:00
Anthony Sottile
3512e441f4 replace echo image with focal 2021-12-20 17:38:59 -05:00
Anthony Sottile
f637ac8603 minor py2 cleanup for sys.stderr.buffer 2021-12-20 17:01:51 -05:00
Anthony Sottile
bd787a9fcd Merge pull request #2163 from pre-commit/pre-commit-ci-update-config
[pre-commit.ci] pre-commit autoupdate
2021-12-20 15:45:55 -05:00
pre-commit-ci[bot]
a781bfb063 [pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/pre-commit/mirrors-mypy: v0.910-1 → v0.920](https://github.com/pre-commit/mirrors-mypy/compare/v0.910-1...v0.920)
2021-12-20 19:42:45 +00:00
Anthony Sottile
c0d3b8e7d0 Merge pull request #2161 from schmir/use-go-install
Use 'go install' instead of 'go get'
2021-12-15 12:15:08 -05:00
Ralf Schmitt
379db4cb88 Use 'go install' instead of 'go get'
`go install` is the recommended way to install modules starting from go 1.16.
In go 1.18 `go get` cannot be used anymore to install packages [1]. go 1.18 is
not released yet.

[1] https://tip.golang.org/doc/go1.18#go-command
2021-12-15 10:05:59 +01:00
Anthony Sottile
097f2c8917 Merge pull request #2154 from kuviokelluja/master
fix: Add missing warning for regular expression with [\\/]
2021-12-05 14:44:48 -05:00
Tony Rintala
b5088ceca6 fix: regex lists to regex tuples 2021-12-05 01:35:43 +02:00
Tony Rintala
d4ffa5befb fix: Add missing warning for regular expression with [\\/]
test: Test case parameters for said regular expression

refactor: For-loop for regex warnings instead of multiple if statements

resolves #2151
2021-12-04 22:51:04 +02:00
Anthony Sottile
a737d5fe2f add setuptools to the zipapp. resolves #2122 2021-11-30 18:19:36 -05:00
Anthony Sottile
d91a4c47f3 v2.16.0 v2.16.0 2021-11-30 18:16:47 -05:00
Anthony Sottile
3efc436d71 Merge pull request #2145 from pre-commit/all-repos_autofix_covdefaults-2-1
improve coverage pragmas with covdefaults 2.1
2021-11-29 21:09:33 -05:00
Anthony Sottile
270b539e8f improve coverage pragmas with covdefaults 2.1
Committed via https://github.com/asottile/all-repos
2021-11-29 20:45:40 -05:00
Anthony Sottile
f6547ac54e Merge pull request #2138 from pre-commit/all-repos_autofix_gh-funding-default
Use org-default .github/FUNDING.yml
2021-11-25 11:12:04 -05:00
Anthony Sottile
c45b84bd39 Use org-default .github/FUNDING.yml
Committed via https://github.com/asottile/all-repos
2021-11-23 11:24:26 -05:00
Anthony Sottile
36e9514e03 Merge pull request #2136 from emzeat/fix/git_config_env
support gitconfig from env
2021-11-22 20:17:34 -05:00
Anthony Sottile
fbf964864d Merge pull request #2134 from pre-commit/pre-commit-ci-update-config
[pre-commit.ci] pre-commit autoupdate
2021-11-22 20:17:26 -05:00
Marius Zwicker
4eb91cdd8e support gitconfig from env
Add exceptions to the git env so externally configured gitconfig
values set via GIT_CONFIG_KEY_<n>, GIT_CONFIG_VALUE_<n> and
GIT_CONFIG_COUNT get passed through.
2021-11-22 19:40:30 -05:00
pre-commit-ci[bot]
a064f248d7 [pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/asottile/pyupgrade: v2.29.0 → v2.29.1](https://github.com/asottile/pyupgrade/compare/v2.29.0...v2.29.1)
- [github.com/asottile/add-trailing-comma: v2.2.0 → v2.2.1](https://github.com/asottile/add-trailing-comma/compare/v2.2.0...v2.2.1)
- [github.com/asottile/setup-cfg-fmt: v1.19.0 → v1.20.0](https://github.com/asottile/setup-cfg-fmt/compare/v1.19.0...v1.20.0)
2021-11-22 19:36:24 -05:00
Anthony Sottile
b300116adc Merge pull request #2137 from pre-commit/upgrade-perl-tidy
bump perltidy version
2021-11-22 19:35:58 -05:00
Anthony Sottile
b2a35414aa bump perltidy version 2021-11-22 18:43:47 -05:00
Anthony Sottile
cb40e9682e Merge pull request #2115 from pre-commit/pre-commit-ci-update-config
[pre-commit.ci] pre-commit autoupdate
2021-11-01 16:05:53 -04:00
pre-commit-ci[bot]
141e18319a [pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/asottile/setup-cfg-fmt: v1.18.0 → v1.19.0](https://github.com/asottile/setup-cfg-fmt/compare/v1.18.0...v1.19.0)
2021-11-01 19:35:28 +00:00
Anthony Sottile
58ae1140c3 Merge pull request #2114 from pre-commit/fix-indent
fix indent in hook-tmpl
2021-10-30 13:40:44 -04:00
Anthony Sottile
087541cb2d fix indent in hook-tmpl 2021-10-30 12:11:52 -04:00
Anthony Sottile
d300bcfb80 Merge pull request #2111 from pre-commit/silence
silence the output of `command -v`
2021-10-29 11:14:51 -04:00
Anthony Sottile
0b87867729 silence the output of command -v 2021-10-28 21:21:59 -07:00
Anthony Sottile
9b18686168 Merge pull request #2106 from pre-commit/pre-commit-ci-update-config
[pre-commit.ci] pre-commit autoupdate
2021-10-25 12:30:19 -07:00
pre-commit-ci[bot]
2b30fbcfd5 [pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/asottile/add-trailing-comma: v2.1.0 → v2.2.0](https://github.com/asottile/add-trailing-comma/compare/v2.1.0...v2.2.0)
2021-10-25 18:59:17 +00:00
Anthony Sottile
c6a1bc144a Merge pull request #2104 from pre-commit/all-repos_autofix_exit-main-2
exit(main()) -> raise SystemExit(main()) pt2
2021-10-24 08:11:48 -07:00
Anthony Sottile
28cafc2273 exit(main()) -> raise SystemExit(main()) pt2
Committed via https://github.com/asottile/all-repos
2021-10-24 07:19:57 -07:00
Anthony Sottile
26a05b547e Merge pull request #2103 from pre-commit/all-repos_autofix_systemexit-main
replace exit(main()) with raise SystemExit(main())
2021-10-23 11:29:35 -07:00
Anthony Sottile
c8cf74dc71 replace exit(main()) with raise SystemExit(main())
Committed via https://github.com/asottile/all-repos
2021-10-23 13:23:48 -04:00
Anthony Sottile
663a766a0c Merge pull request #2097 from colens3/master
Support fail_fast on check level
2021-10-22 16:19:24 -07:00
Stojan Nedic
63ae399db0 Add fail_fast support per-hook 2021-10-22 19:16:30 -04:00
Anthony Sottile
ae53a8eb65 Merge pull request #2098 from pre-commit/asottile-patch-1
ban broken importlib-resources versions
2021-10-19 19:14:13 -07:00