Compare commits
No commits in common. "main" and "v0.920" have entirely different histories.
2
.github/FUNDING.yml
vendored
Normal file
2
.github/FUNDING.yml
vendored
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
github: asottile
|
||||||
|
open_collective: pre-commit
|
4
.github/workflows/main.yml
vendored
4
.github/workflows/main.yml
vendored
@ -1,7 +1,7 @@
|
|||||||
name: main
|
name: main
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: [main]
|
branches: [master]
|
||||||
schedule:
|
schedule:
|
||||||
- cron: '30 8 * * *'
|
- 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: pre-commit-mirror . --language=python --package-name=mypy --types-or=python --types-or=pyi --args=--ignore-missing-imports,--scripts-are-modules --require-serial
|
||||||
- run: |
|
- run: |
|
||||||
git remote set-url origin https://x-access-token:$GH_TOKEN@github.com/$GITHUB_REPOSITORY
|
git remote set-url origin https://x-access-token:$GH_TOKEN@github.com/$GITHUB_REPOSITORY
|
||||||
git push origin HEAD:refs/heads/main --tags
|
git push origin HEAD:refs/heads/master --tags
|
||||||
env:
|
env:
|
||||||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
- id: mypy
|
- id: mypy
|
||||||
name: mypy
|
name: mypy
|
||||||
description: ''
|
|
||||||
entry: mypy
|
entry: mypy
|
||||||
language: python
|
language: python
|
||||||
'types_or': [python, pyi]
|
'types_or': [python, pyi]
|
||||||
|
@ -25,7 +25,7 @@ To change the arguments, override the `args` as follows:
|
|||||||
```yaml
|
```yaml
|
||||||
hooks:
|
hooks:
|
||||||
- id: mypy
|
- id: mypy
|
||||||
args: [--strict, --ignore-missing-imports]
|
args: [--no-strict-optional, --ignore-missing-imports]
|
||||||
```
|
```
|
||||||
|
|
||||||
Because `pre-commit` runs `mypy` from an isolated virtualenv (without your
|
Because `pre-commit` runs `mypy` from an isolated virtualenv (without your
|
||||||
|
4
setup.py
4
setup.py
@ -1,10 +1,8 @@
|
|||||||
from __future__ import annotations
|
|
||||||
|
|
||||||
from setuptools import setup
|
from setuptools import setup
|
||||||
|
|
||||||
|
|
||||||
setup(
|
setup(
|
||||||
name='pre_commit_placeholder_package',
|
name='pre_commit_placeholder_package',
|
||||||
version='0.0.0',
|
version='0.0.0',
|
||||||
install_requires=['mypy==1.16.0'],
|
install_requires=['mypy==0.920'],
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user