From b6b5ccc9f36a0001f41f1bdc9e2135d4c94f47d6 Mon Sep 17 00:00:00 2001 From: Jake Hill Date: Tue, 30 Jul 2019 13:03:43 +0100 Subject: [PATCH] Add support for 3.8 Signed-off-by: Jake Hill --- .travis.yml | 1 + changelog.md | 1 + setup.py | 2 ++ tox.ini | 1 + 4 files changed, 5 insertions(+) diff --git a/.travis.yml b/.travis.yml index 47d7b06..a7bb2c6 100644 --- a/.travis.yml +++ b/.travis.yml @@ -8,6 +8,7 @@ python: - "3.5" - "3.6" - "3.7" + - "3.8-dev" install: pip install 'tox-travis ~= 0.12.0' script: tox diff --git a/changelog.md b/changelog.md index 35c5a4f..3849435 100644 --- a/changelog.md +++ b/changelog.md @@ -4,6 +4,7 @@ * Run mypy once per session instead of once per file. * Stop passing --incremental (which mypy now defaults to). * Support configuring the plugin in a conftest.py. +* Add support for Python 3.8 ## 0.3.3 * Register `mypy` marker. diff --git a/setup.py b/setup.py index 39f82ab..81bf1d6 100644 --- a/setup.py +++ b/setup.py @@ -35,6 +35,7 @@ def read(fname): 'pytest>=2.8; python_version>="3.5"', 'mypy>=0.570,<0.700; python_version<"3.5"', 'mypy>=0.570; python_version>="3.5"', + 'mypy>=0.701; python_version>="3.8.0b1"', ], classifiers=[ 'Development Status :: 4 - Beta', @@ -47,6 +48,7 @@ def read(fname): 'Programming Language :: Python :: 3.5', 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', + 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: Implementation :: CPython', 'Operating System :: OS Independent', 'License :: OSI Approved :: MIT License', diff --git a/tox.ini b/tox.ini index 1c16fdb..bec4023 100644 --- a/tox.ini +++ b/tox.ini @@ -5,6 +5,7 @@ isolated_build = true envlist = py{34, 35, 36, 37}-pytest{2.8, 2.x, 3.0, 3.x, 4.0, 4.x}-mypy{0.570, 0.580, 0.590, 0.600, 0.610, 0.620, 0.630, 0.641, 0.650, 0.660, 0.670} py{35, 36, 37}-pytest{2.8, 2.x, 3.0, 3.x, 4.0, 4.x, 5.0, 5.x}-mypy{0.700, 0.701, 0.710, 0.711} + py{38}-pytest{2.8, 2.x, 3.0, 3.x, 4.0, 4.x, 5.0, 5.x}-mypy{0.710, 0.711} flake8 [testenv]