Compare commits
47 Commits
Author | SHA1 | Date | |
---|---|---|---|
![]() |
7010b10a09 | ||
![]() |
f40886d54c | ||
![]() |
bbc3dc1f89 | ||
![]() |
648203cec3 | ||
![]() |
f56614daa9 | ||
![]() |
102bbee940 | ||
![]() |
7bdd8c04a7 | ||
![]() |
d4911cfb7f | ||
![]() |
a22ad011a6 | ||
![]() |
81dd99696c | ||
![]() |
6f546f30c2 | ||
![]() |
e5ea667062 | ||
![]() |
9db9854e30 | ||
![]() |
8cd2d40566 | ||
![]() |
4daa14b20c | ||
![]() |
4c8a8c7d5e | ||
![]() |
26de8945da | ||
![]() |
b3b011d594 | ||
![]() |
08cbc46b6e | ||
![]() |
92192ce437 | ||
![]() |
6e63c9e9c6 | ||
![]() |
eef2a6bf05 | ||
![]() |
bd424e49d4 | ||
![]() |
961f38dddd | ||
![]() |
ddf9b819d7 | ||
![]() |
b84480de61 | ||
![]() |
b176ead5d5 | ||
![]() |
17a61c4f7a | ||
![]() |
dc6912646c | ||
![]() |
0b037c2b59 | ||
![]() |
586b4f092e | ||
![]() |
33f4a30be4 | ||
![]() |
a27ba8f9ae | ||
![]() |
8962e7e744 | ||
![]() |
22e68754fa | ||
![]() |
fde4bb992b | ||
![]() |
efd441f735 | ||
![]() |
e1ba0b6ec1 | ||
![]() |
a04404bdf5 | ||
![]() |
bdfdfda222 | ||
![]() |
109ec45041 | ||
![]() |
9fc561659f | ||
![]() |
730f5f57bd | ||
![]() |
d37f9c4f0c | ||
![]() |
f6f816c65d | ||
![]() |
886e1c39f0 | ||
![]() |
a205b57cf6 |
2
.github/FUNDING.yml
vendored
2
.github/FUNDING.yml
vendored
@ -1,2 +0,0 @@
|
||||
github: asottile
|
||||
open_collective: pre-commit
|
4
.github/workflows/main.yml
vendored
4
.github/workflows/main.yml
vendored
@ -1,7 +1,7 @@
|
||||
name: main
|
||||
on:
|
||||
push:
|
||||
branches: [master]
|
||||
branches: [main]
|
||||
schedule:
|
||||
- cron: '30 8 * * *'
|
||||
|
||||
@ -18,6 +18,6 @@ jobs:
|
||||
- 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/master --tags
|
||||
git push origin HEAD:refs/heads/main --tags
|
||||
env:
|
||||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
@ -1,5 +1,6 @@
|
||||
- id: mypy
|
||||
name: mypy
|
||||
description: ''
|
||||
entry: mypy
|
||||
language: python
|
||||
'types_or': [python, pyi]
|
||||
|
@ -25,7 +25,7 @@ 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
|
||||
|
Loading…
Reference in New Issue
Block a user