Anthony Sottile
180e44b85f
minor py2 cleanup for sys.stderr.buffer
2021-12-27 10:53:33 -05:00
pre-commit-ci[bot]
b14bc6f099
[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-27 10:53:33 -05:00
Ralf Schmitt
dfb8cf1e3e
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-27 10:53:33 -05:00
Tony Rintala
51ab763824
fix: regex lists to regex tuples
2021-12-27 10:53:33 -05:00
Tony Rintala
597726f8e1
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-27 10:53:33 -05:00
Anthony Sottile
6226e859fd
add setuptools to the zipapp. resolves #2122
2021-12-27 10:53:33 -05:00
Anthony Sottile
355fcc4fcb
v2.16.0
2021-12-27 10:53:33 -05:00
Anthony Sottile
1e0783fcf6
improve coverage pragmas with covdefaults 2.1
...
Committed via https://github.com/asottile/all-repos
2021-12-27 10:53:33 -05:00
Anthony Sottile
97ffca2085
Use org-default .github/FUNDING.yml
...
Committed via https://github.com/asottile/all-repos
2021-12-27 10:53:33 -05:00
Marius Zwicker
ed9ecad32a
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-12-27 10:53:33 -05:00
pre-commit-ci[bot]
149a8d37b6
[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-12-27 10:53:33 -05:00
Anthony Sottile
7a780e82c7
bump perltidy version
2021-12-27 10:53:33 -05:00
pre-commit-ci[bot]
b63b750070
[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-12-27 10:53:33 -05:00
Anthony Sottile
3135eb0654
fix indent in hook-tmpl
2021-12-27 10:53:33 -05:00
Anthony Sottile
9e2ec6e98c
silence the output of command -v
2021-12-27 10:53:33 -05:00
Tim Ioannidis
7dbbb65063
feat: configure pre-commit for avlos.
...
Adds a default monkey patched setup for the avlos developers group.
2021-10-27 14:46:39 +03: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
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
Jordan Speicher
4cd8b364dd
Add: post-rewrite hook support
2021-09-01 14:50:59 -05:00
Anthony Sottile
3bab1514c3
Merge pull request #2030 from pre-commit/duplicate-messages-autoupdate
...
remove duplicate warnings while running autoupdate
2021-08-30 21:49:04 -04:00
Anthony Sottile
25a1988859
Merge pull request #2029 from pre-commit/broken-symlink-check-useless-excludes
...
fix check-useless-excludes for exclude of broken symlink
2021-08-30 21:48:56 -04:00
Anthony Sottile
726f2ad0a3
remove duplicate warnings while running autoupdate
2021-08-30 20:56:24 -04:00