8000 Version 3.1.0 release (#140) · typeddjango/pytest-mypy-plugins@2b79a71 · GitHub
[go: up one dir, main page]

Skip to content

Commit 2b79a71

Browse files
authored
Version 3.1.0 release (#140)
1 parent 0c2163e commit 2b79a71

File tree

4 files changed

+20
-4
lines changed

4 files changed

+20
-4
lines changed

.github/workflows/test.yml

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,21 @@ on:
77
pull_request:
88
workflow_dispatch:
99

10+
concurrency:
11+
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
12+
cancel-in-progress: true
13+
1014
jobs:
1115
test:
1216
runs-on: ubuntu-latest
1317

1418
strategy:
19+
fail-fast: false
1520
matrix:
16-
python-version: ["3.8", "3.9", "3.10", "3.11"]
17-
pytest-version: ["~=6.2", "~=7.2"]
21+
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
22+
pytest-version: ["~=7.2", "~=8.0"]
23+
# TODO: remove after several new versions of mypy
24+
mypy-version: ["~=1.7", "~=1.8"]
1825

1926
steps:
2027
- uses: actions/checkout@v4
@@ -28,6 +35,8 @@ jobs:
2835
pip install -e .
2936
# Force correct `pytest` version for different envs:
3037
pip install -U "pytest${{ matrix.pytest-version }}"
38+
# Force correct `mypy` version:
39+
pip install -U "mypy${{ matrix.mypy-version }}"
3140
- name: Run tests
3241
run: pytest
3342

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,13 @@
11
# Version history
22

33

4+
## 3.1.0
5+
6+
### Features
7+
8+
- Add `mypy@1.8.0` support
9+
10+
411
## 3.0.0
512

613
### Features

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ addopts = "-s --mypy-extension-hook pytest_mypy_plugins.tests.reveal_type_hook.h
1717

1818
[tool.black]
1919
line-length = 120
20-
target-version = ["py38", "py39", "py310", "py311"]
20+
target-version = ["py38"]
2121

2222
[tool.isort]
2323
include_trailing_comma = true

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
setup(
1919
name="pytest-mypy-plugins",
20-
version="3.0.0",
20+
version="3.1.0",
2121
description="pytest plugin for writing tests for mypy plugins",
2222
long_description=readme,
2323
long_description_content_type="text/markdown",

0 commit comments

Comments
 (0)
0