add: mypy configuraion
This commit is contained in:
7
.github/workflows/unit-test.yml
vendored
7
.github/workflows/unit-test.yml
vendored
@@ -28,14 +28,13 @@ jobs:
|
|||||||
pip install '.[dev]'
|
pip install '.[dev]'
|
||||||
- name: Lint with flake8
|
- name: Lint with flake8
|
||||||
run: |
|
run: |
|
||||||
# stop the build if there are Python syntax errors or undefined names
|
|
||||||
flake8 . --count --show-source --statistics
|
flake8 . --count --show-source --statistics
|
||||||
- name: Lint with black
|
- name: Lint with black
|
||||||
run: |
|
run: |
|
||||||
black . --check --diff
|
black . --check --diff
|
||||||
# - name: Static type test with mypy
|
- name: Static type test with mypy
|
||||||
# run: |
|
run: |
|
||||||
# mypy
|
mypy
|
||||||
- name: Test with pytest
|
- name: Test with pytest
|
||||||
run: |
|
run: |
|
||||||
pytest
|
pytest
|
||||||
|
Reference in New Issue
Block a user