Skip to content
Merged

Mypy #199

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,7 @@ repos:
'flake8-docstrings==1.6.0',
'pep8-naming==0.11.1'
]
- repo: https://github.com/pre-commit/mirrors-mypy
rev: 'v0.812'
hooks:
- id: mypy
7 changes: 4 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,15 @@ clean:
rm -f .coverage

test: clean
pytest
pytest pymove

coverage: clean
coverage run -m pytest
coverage run -m pytest pymove
coverage report

lint: clean
flake8
flake8 pymove
mypy pymove

docs: clean
cp docs/examples/notebooks.rst docs
Expand Down
Loading