From 17a1c647e0393206f6664cb9a1651f7d018ad28b Mon Sep 17 00:00:00 2001 From: Hugo van Kemenade Date: Sun, 30 Aug 2020 23:54:48 +0300 Subject: [PATCH] Test on Python 3.9-dev (#509) * Test on Python 3.9-dev * Upgrade mypy to fix 'syntax error in type comment' with Python 3.9 --- .github/workflows/test.yml | 4 ++-- requirements/tests.txt | 2 +- tox.ini | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 49b67a3c..91d87f6c 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -8,12 +8,12 @@ jobs: strategy: matrix: os: [macos-latest, ubuntu-latest, windows-latest] - python-version: [3.5, 3.6, 3.7, 3.8] + python-version: [3.5, 3.6, 3.7, 3.8, 3.9-dev] steps: - uses: actions/checkout@v2 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v1 + uses: actions/setup-python@v2 with: python-version: ${{ matrix.python-version }} - name: Install tox diff --git a/requirements/tests.txt b/requirements/tests.txt index 65fd55fd..4fb29a84 100644 --- a/requirements/tests.txt +++ b/requirements/tests.txt @@ -1,3 +1,3 @@ pytest==3.0.2 pytest-pep8==1.0.6 -mypy==0.730 +mypy==0.782 diff --git a/tox.ini b/tox.ini index 91eacd46..7d85e7ed 100644 --- a/tox.ini +++ b/tox.ini @@ -4,7 +4,7 @@ # install tox" and then run "tox" from this directory. [tox] -envlist = {py35,py36,py37,py38}-{tests,install},docs,install,py36-docs +envlist = {py35,py36,py37,py38,py39}-{tests,install},docs,install,py36-docs [testenv] download = true