Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions tests/conftest.py
Original file line number Diff line number Diff line change
@@ -1 +1,7 @@
import mypy.version

pytest_plugins = "pytester"


def pytest_report_header():
return f"mypy: {mypy.version.__version__}"
4 changes: 3 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# For more information about tox, see https://tox.readthedocs.io/en/latest/
[tox]
minversion = 3.20
minversion = 4.4
isolated_build = true
envlist =
py37-pytest{4.6, 5.0, 5.x, 6.0, 6.x, 7.0, 7.x}-mypy{0.50, 0.x, 1.0, 1.x}
Expand All @@ -22,6 +22,7 @@ python =
3.12: py312-pytest{6.2, 6.x, 7.0, 7.x, 8.0, 8.x}-mypy{0.90, 0.x, 1.0, 1.x}

[testenv]
constrain_package_deps = true
deps =
pytest4.6: pytest ~= 4.6.0
pytest5.0: pytest ~= 5.0.0
Expand Down Expand Up @@ -54,6 +55,7 @@ testpaths = tests

[testenv:publish]
passenv = TWINE_*
constrain_package_deps = false
deps =
build[virtualenv] ~= 0.9.0
twine ~= 4.0.0
Expand Down