Remove mypy.

This commit is contained in:
Fangjun Kuang 2021-07-15 19:52:01 +08:00
parent 71c4e29ad5
commit d146a4e799
3 changed files with 2 additions and 13 deletions

View File

@ -45,7 +45,7 @@ jobs:
- name: Install Python dependencies - name: Install Python dependencies
run: | run: |
python3 -m pip install --upgrade pip mypy black flake8 python3 -m pip install --upgrade pip black flake8
- name: Run flake8 - name: Run flake8
shell: bash shell: bash
@ -60,9 +60,3 @@ jobs:
working-directory: ${{github.workspace}} working-directory: ${{github.workspace}}
run: | run: |
black --check --diff . black --check --diff .
- name: Run mypy
shell: bash
working-directory: ${{github.workspace}}
run: |
mypy .

View File

@ -14,11 +14,6 @@ repos:
hooks: hooks:
- id: isort - id: isort
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v0.910
hooks:
- id: mypy
- repo: https://github.com/pre-commit/pre-commit-hooks - repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.0.1 rev: v4.0.1
hooks: hooks:

View File

@ -6,6 +6,6 @@ line-length = 80
exclude = ''' exclude = '''
/( /(
\.git \.git
| \.mypy_cache | \.github
)/ )/
''' '''