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
Anthony Sottile
d0c9e589ca
ban broken importlib-resources versions
2021-10-19 19:02:36 -07:00
Anthony Sottile
2ac26e221c
Merge pull request #2086 from pre-commit/pre-commit-ci-update-config
...
[pre-commit.ci] pre-commit autoupdate
2021-10-11 17:55:17 -07:00
Anthony Sottile
8c844c794d
work around conda bug installing python3.1/site-packages
...
https://github.com/conda/conda/issues/10969
2021-10-11 20:21:34 -04:00
pre-commit-ci[bot]
69a4dbda68
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2021-10-11 18:53:57 +00:00
pre-commit-ci[bot]
247d892e69
[pre-commit.ci] pre-commit autoupdate
...
updates:
- [github.com/PyCQA/flake8: 3.9.2 → 4.0.1](https://github.com/PyCQA/flake8/compare/3.9.2...4.0.1 )
- [github.com/asottile/setup-cfg-fmt: v1.17.0 → v1.18.0](https://github.com/asottile/setup-cfg-fmt/compare/v1.17.0...v1.18.0 )
- [github.com/pre-commit/mirrors-mypy: v0.910 → v0.910-1](https://github.com/pre-commit/mirrors-mypy/compare/v0.910...v0.910-1 )
2021-10-11 18:53:36 +00:00
Anthony Sottile
6872289f1a
Merge pull request #2078 from pre-commit/pre-commit-ci-update-config
...
[pre-commit.ci] pre-commit autoupdate
2021-10-04 12:58:20 -07:00
pre-commit-ci[bot]
0acf2e99c4
[pre-commit.ci] pre-commit autoupdate
...
updates:
- [github.com/asottile/pyupgrade: v2.25.0 → v2.29.0](https://github.com/asottile/pyupgrade/compare/v2.25.0...v2.29.0 )
2021-10-04 18:54:25 +00:00
Anthony Sottile
d021bbfabd
Merge pull request #2071 from pre-commit/submodule-recurse-bug
...
make sure to not discard changes even if submodule.recurse=1
2021-10-01 16:47:50 -07:00
Anthony Sottile
e9ed248a15
make sure to not discard changes even if submodule.recurse=1
2021-10-01 18:45:36 -04:00
Anthony Sottile
e0e3fabfdb
Merge pull request #2066 from pre-commit/unxfail-node-windows
...
un-xfail node on windows
2021-09-27 17:44:37 -07:00
Anthony Sottile
2fc00f73b6
un-xfail node on windows
...
these have been reasonably stable for a while
2021-09-27 20:00:18 -04:00
Anthony Sottile
b3c0d84dd3
Merge pull request #2065 from pre-commit/hook-template-bash
...
port hook template to bash
2021-09-27 16:59:10 -07:00
Anthony Sottile
e622f793c3
port hook template to bash
...
this avoids some version-specific code in python
this also makes the bootstrap script slightly more portable
2021-09-27 19:34:04 -04:00
Anthony Sottile
ef7b126ee3
Merge pull request #2053 from radek-sprta/master
...
Add warning for regular expression with [\/] (#2043 )
2021-09-22 16:56:21 -07:00
Radek SPRTA
cef9c4af03
Add warning for regular expression with [\/] ( #2043 )
2021-09-22 19:07:38 -04:00
Anthony Sottile
530dbe69ce
Merge pull request #2047 from pre-commit/windows-as-usual
...
fix pre-commit autoupdate for core.useBuiltinFSMonitor=true on windows
2021-09-14 14:15:34 -07:00
Anthony Sottile
ab94dd69f8
fix pre-commit autoupdate for core.useBuiltinFSMonitor=true on windows
2021-09-13 20:01:25 -04:00
Anthony Sottile
2ef29b7f95
Merge pull request #2039 from pre-commit/issue-form
...
add a bug report issue form
2021-09-06 15:52:04 -04:00
Anthony Sottile
09ffe421a9
add a bug report issue form
2021-09-06 15:01:42 -04:00
Anthony Sottile
36b8ad63d2
v2.15.0
v2.15.0
2021-09-02 20:33:19 -04:00
Anthony Sottile
c64c36b120
Merge pull request #2036 from uSpike/add-post-rewrite-hook
...
Add: post-rewrite hook support
2021-09-02 14:08:23 -04:00