mirror of
https://github.com/k2-fsa/icefall.git
synced 2025-08-09 01:52:41 +00:00
Remove mypy.
This commit is contained in:
parent
71c4e29ad5
commit
d146a4e799
8
.github/workflows/style_check.yml
vendored
8
.github/workflows/style_check.yml
vendored
@ -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 .
|
|
||||||
|
@ -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:
|
||||||
|
@ -6,6 +6,6 @@ line-length = 80
|
|||||||
exclude = '''
|
exclude = '''
|
||||||
/(
|
/(
|
||||||
\.git
|
\.git
|
||||||
| \.mypy_cache
|
| \.github
|
||||||
)/
|
)/
|
||||||
'''
|
'''
|
||||||
|
Loading…
x
Reference in New Issue
Block a user