From d2712238bd4ca3491138283a96a2b250d1642242 Mon Sep 17 00:00:00 2001 From: 6ug Date: Fri, 19 Oct 2018 01:00:28 +0530 Subject: [PATCH] Added mypy check to tox --- setup.py | 1 + tox.ini | 5 ++++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 29d247d..21f9013 100644 --- a/setup.py +++ b/setup.py @@ -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', ], ) diff --git a/tox.ini b/tox.ini index 5024c49..bed8be1 100644 --- a/tox.ini +++ b/tox.ini @@ -1,6 +1,6 @@ [tox] envlist= - py{27,34,35,36}-core + py{27,34,35,36,37}-core lint [flake8] @@ -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