Compare commits

...

143 Commits
v0.13 ... main

Author SHA1 Message Date
Github Actions
7010b10a09 Mirror: 1.16.0 2025-05-30 08:36:58 +00:00
Github Actions
f40886d54c Mirror: 1.15.0 2025-02-05 08:33:29 +00:00
Github Actions
bbc3dc1f89 Mirror: 1.14.1 2024-12-31 08:34:18 +00:00
Github Actions
648203cec3 Mirror: 1.14.0 2024-12-21 08:33:11 +00:00
Github Actions
f56614daa9 Mirror: 1.13.0 2024-10-23 08:35:14 +00:00
Github Actions
102bbee940 Mirror: 1.12.1 2024-10-20 08:35:03 +00:00
Github Actions
7bdd8c04a7 Mirror: 1.12.0 2024-10-15 08:35:13 +00:00
Github Actions
d4911cfb7f Mirror: 1.11.2 2024-08-25 08:32:17 +00:00
Github Actions
a22ad011a6 Mirror: 1.11.1 2024-07-31 08:30:59 +00:00
Github Actions
81dd99696c Mirror: 1.11.0 2024-07-20 08:31:18 +00:00
Github Actions
6f546f30c2 Mirror: 1.10.1 2024-06-25 08:32:29 +00:00
Github Actions
e5ea667062 Mirror: 1.10.0 2024-04-25 08:31:45 +00:00
Github Actions
9db9854e30 Mirror: 1.9.0 2024-03-09 08:30:51 +00:00
Github Actions
8cd2d40566 Mirror: 1.8.0 2023-12-22 08:31:04 +00:00
Github Actions
4daa14b20c Mirror: 1.7.1 2023-11-24 08:31:11 +00:00
Github Actions
4c8a8c7d5e Mirror: 1.7.0 2023-11-11 08:30:48 +00:00
Github Actions
26de8945da Mirror: 1.6.1 2023-10-18 08:31:23 +00:00
Github Actions
b3b011d594 Mirror: 1.6.0 2023-10-11 08:31:24 +00:00
Github Actions
08cbc46b6e Mirror: 1.5.1 2023-08-17 08:30:55 +00:00
Github Actions
92192ce437 Mirror: 1.5.0 2023-08-11 08:30:51 +00:00
Github Actions
6e63c9e9c6 Mirror: 1.4.1 2023-06-26 08:35:48 +00:00
Github Actions
eef2a6bf05 Mirror: 1.4.0 2023-06-21 08:31:01 +00:00
Github Actions
bd424e49d4 Mirror: 1.3.0 2023-05-11 08:30:57 +00:00
Anthony Sottile
961f38dddd
Merge pull request #85 from hauntsaninja/patch-1
Remove example flag that we must not speak of
2023-04-30 19:03:43 -04:00
Shantanu
ddf9b819d7
Remove example flag that we must not speak of
I just had a user copy-paste this, thinking it was the recommended way to run mypy. I'd prefer if users who blindly copy-paste things didn't pick up a flag that's highly discouraged
2023-04-30 15:54:24 -07:00
Github Actions
b84480de61 Mirror: 1.2.0 2023-04-07 08:31:31 +00:00
Github Actions
b176ead5d5 Mirror: 1.1.1 2023-03-07 08:34:31 +00:00
Github Actions
17a61c4f7a Mirror: 1.0.1 2023-02-18 08:33:02 +00:00
Github Actions
dc6912646c Mirror: 1.0.0 2023-02-07 08:33:29 +00:00
Github Actions
0b037c2b59 Mirror: 0.991 2022-11-15 08:37:07 +00:00
Github Actions
586b4f092e Mirror: 0.990 2022-11-08 08:38:13 +00:00
Github Actions
33f4a30be4 Mirror: 0.982 2022-10-04 08:40:59 +00:00
Anthony Sottile
a27ba8f9ae
Merge pull request #73 from pre-commit/all-repos_autofix_gh-funding-default
Use org-default .github/FUNDING.yml
2022-09-27 14:51:38 -04:00
Anthony Sottile
8962e7e744 Use org-default .github/FUNDING.yml
Committed via https://github.com/asottile/all-repos
2022-09-27 14:50:18 -04:00
Github Actions
22e68754fa Mirror: 0.981 2022-09-27 08:43:08 +00:00
Github Actions
fde4bb992b Mirror: 0.971 2022-07-20 08:37:24 +00:00
Github Actions
efd441f735 Mirror: 0.961 2022-06-07 08:36:44 +00:00
Github Actions
e1ba0b6ec1 Mirror: 0.960 2022-05-26 08:37:35 +00:00
Github Actions
a04404bdf5 Mirror: 0.950 2022-04-28 08:41:22 +00:00
Github Actions
bdfdfda222 Mirror: 0.942 2022-03-24 20:24:09 +00:00
Anthony Sottile
109ec45041
Merge pull request #65 from pre-commit/all-repos_autofix_master-to-main
Update default branch to main
2022-03-24 16:23:53 -04:00
Anthony Sottile
9fc561659f Update default branch to main
Committed via https://github.com/asottile/all-repos
2022-03-24 16:16:24 -04:00
Github Actions
730f5f57bd Mirror: 0.941 2022-03-15 08:34:59 +00:00
Github Actions
d37f9c4f0c Mirror: 0.940 2022-03-12 08:34:13 +00:00
Github Actions
f6f816c65d Mirror: 0.931 2022-01-08 08:41:24 +00:00
Github Actions
886e1c39f0 Mirror: 0.930 2021-12-23 08:41:36 +00:00
Github Actions
a205b57cf6 Mirror: 0.921 2021-12-22 08:41:34 +00:00
Github Actions
5ecfb11dc5 Mirror: 0.920 2021-12-16 08:40:14 +00:00
Anthony Sottile
5cf22ccb77 Mirror: 0.910 2021-10-04 19:59:24 -04:00
Anthony Sottile
b18c8c81a4
Merge pull request #60 from Skylion007/patch-2
Add stubs to mypy checking
2021-10-04 16:56:05 -07:00
Aaron Gokaslan
997646e323
Add stubs to mypy checking 2021-10-04 13:09:07 -04:00
Anthony Sottile
449ace5e55
Merge pull request #51 from WhyNotHugo/patch-1
Mention that auto-fetching stubs is unsupported
2021-06-27 19:10:52 -07:00
Hugo Osvaldo Barrera
679b763341 Mention that auto-fetching stubs is unsupported 2021-06-27 19:36:44 +02:00
Github Actions
44afb68a96 Mirror: 0.910 2021-06-23 08:42:09 +00:00
Github Actions
8254732e2e Mirror: 0.902 2021-06-11 08:40:55 +00:00
Github Actions
0f75d9fd2d Mirror: 0.901 2021-06-09 08:44:37 +00:00
Github Actions
5b7c1c8aa0 Mirror: 0.900 2021-06-09 08:44:37 +00:00
Anthony Sottile
214c33306a
Merge pull request #45 from pre-commit/all-repos_autofix_pre-commit-mirrors-license
Add LICENSE from pre-commit-mirror-maker
2021-04-19 19:13:44 -07:00
Anthony Sottile
08de4c11f9 Add LICENSE from pre-commit-mirror-maker
Committed via https://github.com/asottile/all-repos
2021-04-19 19:11:56 -07:00
Github Actions
b84ce099a2 Mirror: 0.812 2021-02-20 08:40:38 +00:00
Github Actions
59a8e37f2a Mirror: 0.800 2021-01-23 09:18:28 +00:00
Anthony Sottile
6fd7e2a39e
Merge pull request #32 from pre-commit/all-repos_autofix_gh-sponsors
Add link to GitHub Sponsors + Open Collective
2020-11-19 17:17:25 -08:00
Anthony Sottile
b716753b48 Add link to GitHub Sponsors + Open Collective
at the time of writing I am currently unemployed.  I'd love to make open
source a full time career.  if you or your company is deriving value from
this free software, please consider [sponsoring] or [supporting].

[sponsoring]: https://github.com/sponsors/asottile
[supporting]: https://opencollective.com/pre-commit

Committed via https://github.com/asottile/all-repos
2020-11-19 17:12:22 -08:00
Anthony Sottile
8681a61cc3
Merge pull request #31 from pre-commit/all-repos_autofix_all-repos-sed
use github actions user to push
2020-11-15 10:25:43 -08:00
Anthony Sottile
a6cc3dcb3a use github actions user to push
Committed via https://github.com/asottile/all-repos
2020-11-15 10:22:47 -08:00
pre-commit
f3bfcb5479 Mirror: 0.790 2020-10-10 08:32:04 +00:00
pre-commit
d6e31aeb10 Mirror: 0.782 2020-06-24 08:31:09 +00:00
pre-commit
b561d7d305 Mirror: 0.781 2020-06-20 08:31:19 +00:00
pre-commit
f687d36b12 Mirror: 0.780 2020-06-04 08:31:06 +00:00
pre-commit
323f177eb1 Mirror: 0.770 2020-03-11 08:31:02 +00:00
Anthony Sottile
9feadebfdc Add github action to auto-update 2020-01-30 21:21:43 -08:00
Anthony Sottile
eef73e213c explicitly call out additional_dependencies 2020-01-08 08:19:50 -08:00
pre-commit
6d1dbadef1 Mirror: 0.761 2019-12-20 19:44:37 +00:00
pre-commit
777600ee21 Mirror: 0.760 2019-12-18 19:43:50 +00:00
pre-commit
90f8e12be8 Mirror: 0.750 2019-11-29 19:34:41 +00:00
pre-commit
1dc337ae34 Mirror: 0.740 2019-10-17 19:15:40 +00:00
pre-commit
11e31ca4c5 Mirror: 0.730 2019-09-26 19:06:55 +00:00
pre-commit
977b5b383e Mirror: 0.720 2019-07-13 18:30:13 +00:00
pre-commit
8af02ed80d Mirror: 0.711 2019-06-24 18:22:14 +00:00
pre-commit
893a7b1957 Mirror: 0.710 2019-06-20 15:30:39 +00:00
pre-commit
9ab5f6aba6 Mirror: 0.701 2019-04-17 17:50:21 +00:00
pre-commit
4e5c70d9dc Mirror: 0.700 2019-04-04 17:43:17 +00:00
Anthony Sottile
7af15c1f24 v0.670-1 2019-03-14 20:25:47 -07:00
pre-commit
e10e3aa9e3 Mirror: 0.670 2019-02-09 17:17:48 +00:00
pre-commit
55201b4da5 Mirror: 0.660 2019-01-17 17:06:11 +00:00
pre-commit
af591c9cc3 Mirror: 0.650 2018-12-08 16:44:55 +00:00
pre-commit
8d683f8f09 Mirror: 0.641 2018-10-15 16:17:57 +00:00
pre-commit
1bdeeac5da Mirror: 0.630 2018-09-17 16:02:31 +00:00
pre-commit
d3592da173 Mirror: 0.620 2018-07-13 22:15:28 +00:00
Anthony Sottile
4284bc4ffc v0.610-1 2018-06-13 18:40:09 -07:00
pre-commit
95020d86bc Mirror: 0.610 2018-06-08 22:13:10 +00:00
pre-commit
f1096ebbef Mirror: 0.600 2018-05-30 21:38:47 +00:00
pre-commit
a494166e5f Mirror: 0.590 2018-05-30 21:38:47 +00:00
pre-commit
2c69c429c8 Mirror: 0.580 2018-05-30 21:38:47 +00:00
pre-commit
c5293a9f1f Mirror: 0.570 2018-05-30 21:38:47 +00:00
pre-commit
dd45cb2152 Mirror: 0.560 2018-05-30 21:38:47 +00:00
pre-commit
d9a72155af Mirror: 0.550 2018-05-30 21:38:47 +00:00
pre-commit
4ef3d46b70 Mirror: 0.540 2018-05-30 21:38:47 +00:00
pre-commit
ff0067309d Mirror: 0.530 2018-05-30 21:38:47 +00:00
pre-commit
9858586db9 Mirror: 0.521 2018-05-30 21:38:47 +00:00
pre-commit
e36a549742 Mirror: 0.520 2018-05-30 21:38:47 +00:00
pre-commit
d468a96b6a Mirror: 0.511 2018-05-30 21:38:47 +00:00
pre-commit
9dec5f4266 Mirror: 0.510 2018-05-30 21:38:47 +00:00
pre-commit
6b3046df97 Mirror: 0.501 2018-05-30 21:38:47 +00:00
pre-commit
af759ed23e Mirror: 0.500 2018-05-30 21:38:47 +00:00
pre-commit
db3da2e84b Mirror: 0.471 2018-05-30 21:38:47 +00:00
pre-commit
0cbf7c4546 Mirror: 0.470 2018-05-30 21:38:47 +00:00
pre-commit
27b3047743 Mirror: 0.256 2018-05-30 21:38:47 +00:00
pre-commit
6a8d31aefe Mirror: 0.255 2018-05-30 21:38:47 +00:00
pre-commit
eaa2543519 Mirror: 0.254 2018-05-30 21:38:46 +00:00
pre-commit
c1413175b4 Mirror: 0.253 2018-05-30 21:38:46 +00:00
pre-commit
d65e957d69 Mirror: 0.252 2018-05-30 21:38:46 +00:00
pre-commit
500f3430aa Mirror: 0.251 2018-05-30 21:38:46 +00:00
pre-commit
93a0a1ad97 Mirror: 0.250 2018-05-30 21:38:46 +00:00
pre-commit
7330d38502 Mirror: 0.241 2018-05-30 21:38:46 +00:00
pre-commit
3ba2161a91 Mirror: 0.240 2018-05-30 21:38:46 +00:00
pre-commit
f2a0e45ba6 Mirror: 0.239 2018-05-30 21:38:46 +00:00
pre-commit
aebcb15aac Mirror: 0.238 2018-05-30 21:38:46 +00:00
pre-commit
623e466d87 Mirror: 0.237 2018-05-30 21:38:46 +00:00
pre-commit
d4676df891 Mirror: 0.236 2018-05-30 21:38:46 +00:00
pre-commit
c4c7c8733f Mirror: 0.235 2018-05-30 21:38:46 +00:00
pre-commit
21d75381fe Mirror: 0.234 2018-05-30 21:38:46 +00:00
pre-commit
a17b5feee1 Mirror: 0.233 2018-05-30 21:38:46 +00:00
pre-commit
f83e8cf3eb Mirror: 0.232 2018-05-30 21:38:46 +00:00
pre-commit
3ae8f79001 Mirror: 0.231 2018-05-30 21:38:46 +00:00
pre-commit
b31fe6eb08 Mirror: 0.230 2018-05-30 21:38:46 +00:00
pre-commit
94575eee9a Mirror: 0.229 2018-05-30 21:38:46 +00:00
pre-commit
8b2276f3d9 Mirror: 0.228 2018-05-30 21:38:46 +00:00
pre-commit
0941daec2f Mirror: 0.227 2018-05-30 21:38:46 +00:00
pre-commit
ed91527e50 Mirror: 0.226 2018-05-30 21:38:46 +00:00
pre-commit
a06680caa1 Mirror: 0.225 2018-05-30 21:38:46 +00:00
pre-commit
07d2155b7c Mirror: 0.224 2018-05-30 21:38:46 +00:00
pre-commit
6a244208cd Mirror: 0.223 2018-05-30 21:38:46 +00:00
pre-commit
8d837e4f32 Mirror: 0.222 2018-05-30 21:38:46 +00:00
pre-commit
066c0f903b Mirror: 0.221 2018-05-30 21:38:46 +00:00
pre-commit
3c92bb1f51 Mirror: 0.21 2018-05-30 21:38:46 +00:00
pre-commit
206479d33e Mirror: 0.20 2018-05-30 21:38:46 +00:00
pre-commit
4377ecba32 Mirror: 0.19 2018-05-30 21:38:46 +00:00
pre-commit
cc858335b1 Mirror: 0.18 2018-05-30 21:38:46 +00:00
pre-commit
a14792a79c Mirror: 0.17 2018-05-30 21:38:46 +00:00
pre-commit
6c37c0337b Mirror: 0.16 2018-05-30 21:38:46 +00:00
pre-commit
004e38730b Mirror: 0.15 2018-05-30 21:38:46 +00:00
pre-commit
fe3c60b5c2 Mirror: 0.14 2018-05-30 21:38:46 +00:00
6 changed files with 66 additions and 6 deletions

23
.github/workflows/main.yml vendored Normal file
View File

@ -0,0 +1,23 @@
name: main
on:
push:
branches: [main]
schedule:
- cron: '30 8 * * *'
jobs:
build:
name: main
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/setup-python@v1
- run: pip install pre-commit-mirror-maker
- run: git config --global user.name 'Github Actions'
- run: git config --global user.email '41898282+github-actions[bot]@users.noreply.github.com'
- run: pre-commit-mirror . --language=python --package-name=mypy --types-or=python --types-or=pyi --args=--ignore-missing-imports,--scripts-are-modules --require-serial
- run: |
git remote set-url origin https://x-access-token:$GH_TOKEN@github.com/$GITHUB_REPOSITORY
git push origin HEAD:refs/heads/main --tags
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

View File

@ -1,7 +1,10 @@
- id: mypy
name: mypy
description: ''
entry: mypy
language: python
'types': [python]
args: ["--ignore-missing-imports"]
'types_or': [python, pyi]
args: ["--ignore-missing-imports", "--scripts-are-modules"]
require_serial: true
additional_dependencies: []
minimum_pre_commit_version: '2.9.2'

View File

@ -1 +1 @@
0.13
1.16.0

19
LICENSE Normal file
View File

@ -0,0 +1,19 @@
Copyright (c) 2014 Anthony Sottile
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.

View File

@ -25,5 +25,18 @@ To change the arguments, override the `args` as follows:
```yaml
hooks:
- id: mypy
args: [--no-strict-optional, --ignore-missing-imports]
args: [--strict, --ignore-missing-imports]
```
Because `pre-commit` runs `mypy` from an isolated virtualenv (without your
dependencies) you may also find it useful to add the typed dependencies to
`additional_dependencies` so `mypy` can better perform dynamic analysis:
```yaml
hooks:
- id: mypy
additional_dependencies: [tokenize-rt==3.2.0]
```
Note that using the `--install-types` is problematic. Mutating the pre-commit
environment at runtime breaks cache and will break parallel builds.

View File

@ -1,8 +1,10 @@
from __future__ import annotations
from setuptools import setup
setup(
name='pre_commit_dummy_package',
name='pre_commit_placeholder_package',
version='0.0.0',
install_requires=['mypy==0.13'],
install_requires=['mypy==1.16.0'],
)