Commit graph

2103 commits

Author SHA1 Message Date
Ville Skyttä
b3f7535739 Pass explicit mirror list including BackPan to cpan
Gives out of the box ability to use dependencies that have been archived
to BackPan.

Refs https://github.com/pre-commit/pre-commit/pull/2134
2021-11-22 22:39:04 +02: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 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
Anthony Sottile
35d3ed40cd fix check-useless-excludes for exclude of broken symlink 2021-08-30 20:56:14 -04:00
Anthony Sottile
a96bb23caf
Merge pull request #2031 from pre-commit/wtf-is-ort
update tests for latest git
2021-08-30 20:55:57 -04:00
Anthony Sottile
54a481c04b update tests for latest git 2021-08-30 20:48:41 -04:00
Anthony Sottile
66c51a3d56
Merge pull request #2027 from pre-commit/dart
add support for dart as a hook language
2021-08-30 19:30:51 -04:00
Anthony Sottile
2d03991195
Merge pull request #2028 from pre-commit/pre-commit-ci-update-config
[pre-commit.ci] pre-commit autoupdate
2021-08-30 15:10:08 -04:00
pre-commit-ci[bot]
46c18d9370
[pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/asottile/pyupgrade: v2.24.0 → v2.25.0](https://github.com/asottile/pyupgrade/compare/v2.24.0...v2.25.0)
2021-08-30 18:35:12 +00:00
Anthony Sottile
f8e21cb78b add support for dart as a hook language 2021-08-29 08:57:56 -07:00
Anthony Sottile
0f08ba77c8 v2.14.1 2021-08-28 14:15:40 -04:00
Anthony Sottile
12f62d2191
Merge pull request #2026 from pre-commit/incorrect-regular-expressions
make `repo: meta` only apply to top level configuration
2021-08-28 14:07:53 -04:00