added type checking
This commit is contained in:
@@ -16,8 +16,11 @@ jobs:
|
||||
- name: Install Packages
|
||||
run: |
|
||||
python -m pip install --upgrade pip
|
||||
pip install flake8 pytest
|
||||
pip install flake8 mypy pytest
|
||||
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
|
||||
- name: Lint with flake8
|
||||
- name: PEP8 check
|
||||
run: |
|
||||
flake8 ./code
|
||||
flake8 ./code
|
||||
- name: Type check
|
||||
run: |
|
||||
mypy ./code
|
||||
|
||||
Reference in New Issue
Block a user