Skip to content

Commit

Permalink
Added mypy check to tox
Browse files Browse the repository at this point in the history
  • Loading branch information
6ug committed Oct 18, 2018
1 parent 04e4e10 commit d271223
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: Implementation :: PyPy',
],
)
5 changes: 4 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tox]
envlist=
py{27,34,35,36}-core
py{27,34,35,36,37}-core
lint

[flake8]
Expand All @@ -20,9 +20,12 @@ basepython =
py34: python3.4
py35: python3.5
py36: python3.6
py37: python3.7


[testenv:lint]
basepython=python
extras=lint
commands=
flake8 {toxinidir}/py_ecc
mypy --follow-imports=silent --warn-unused-ignores --ignore-missing-imports --no-strict-optional --check-untyped-defs --disallow-incomplete-defs --disallow-untyped-defs --disallow-any-generics -p p2p -p py_ecc

0 comments on commit d271223

Please sign in to comment.