Skip to content
This repository was archived by the owner on Jun 28, 2023. It is now read-only.

Commit 5d886cb

Browse files
committed
Add mypy for type checking
1 parent 060097c commit 5d886cb

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.travis.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,14 @@ matrix:
1818

1919
install:
2020
- "pip install -U pip"
21-
- "pip install -U pytest pytest-runner flake8"
21+
- "pip install -U pytest pytest-runner flake8 mypy-lang"
2222
- "pip install ."
2323
- "pip freeze"
2424

2525
script:
2626
- python setup.py test
2727
- python setup.py flake8 || true
28+
- mypy everywhere
2829

2930
notifications:
3031
email: false

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
author_email='[email protected]',
1515
description=('A template project for Python'),
1616
license='BSD',
17-
setup_requires=['pytest-runner', 'flake8'],
17+
setup_requires=['pytest-runner', 'flake8', 'mypy-lang'],
1818
tests_require=['pytest'],
1919
install_requires=requires,
2020
packages=find_packages(exclude=exclude_from_packages),

0 commit comments

Comments
 (0)