From aed6fe709d32f0c27614f64c73607850b01cbb8d Mon Sep 17 00:00:00 2001 From: Daniel Hahler Date: Fri, 17 Jan 2020 06:26:53 +0100 Subject: [PATCH 1/3] tox: add mypy-diff testenv Upstream: https://github.com/pytest-dev/pytest/pull/6486 --- .github/workflows/main.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 25392d26b46..e7c08097977 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -35,6 +35,7 @@ jobs: "docs", "doctesting", "mypy", + "mypy-diff", ] include: @@ -91,7 +92,10 @@ jobs: python: "3.8" os: ubuntu-latest tox_env: "mypy" - skip_coverage: true + - name: "mypy-diff" + python: "3.8" + os: ubuntu-latest + tox_env: "mypy-diff" steps: - uses: actions/checkout@v1 From d858f8e11edfd4eab851c5cd7ba45526d53932b8 Mon Sep 17 00:00:00 2001 From: Daniel Hahler Date: Mon, 20 Jan 2020 13:38:35 +0100 Subject: [PATCH 2/3] TEST: untyped --- src/_pytest/main.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/_pytest/main.py b/src/_pytest/main.py index 1a9b17a7f4d..9118f42bcd0 100644 --- a/src/_pytest/main.py +++ b/src/_pytest/main.py @@ -37,6 +37,10 @@ from _pytest.python import Package +def test(): + pass + + class ExitCode(enum.IntEnum): """ .. versionadded:: 5.0 From 33a8c1c30429003a5993e31ada5e716eae20cb4d Mon Sep 17 00:00:00 2001 From: Daniel Hahler Date: Sun, 9 Feb 2020 03:53:36 +0100 Subject: [PATCH 3/3] Revert "TEST: untyped" This reverts commit d858f8e11edfd4eab851c5cd7ba45526d53932b8. --- src/_pytest/main.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/_pytest/main.py b/src/_pytest/main.py index 9118f42bcd0..1a9b17a7f4d 100644 --- a/src/_pytest/main.py +++ b/src/_pytest/main.py @@ -37,10 +37,6 @@ from _pytest.python import Package -def test(): - pass - - class ExitCode(enum.IntEnum): """ .. versionadded:: 5.0