Skip to content

Commit ecf5afb

Browse files
author
David Fritzsche
committed
Test with pytest 8.1
Resolves #51
1 parent b366374 commit ecf5afb

File tree

2 files changed

+12
-3
lines changed

2 files changed

+12
-3
lines changed

pyproject.toml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ mypy-testing = "pytest_mypy_testing.plugin"
4242
[tool.flit.sdist]
4343
include = ["src/pytest_mypy_testing/_version.py"]
4444

45+
4546
[tool.black]
4647
line-length = 88
4748
target-version = ['py37', 'py38', 'py39', 'py310', 'py311', 'py312']
@@ -53,6 +54,7 @@ extend-exclude = '''
5354
)
5455
'''
5556

57+
5658
[tool.coverage.run]
5759
include = [
5860
'src/*',
@@ -61,3 +63,8 @@ include = [
6163
]
6264
data_file = 'build/coverage-data/coverage'
6365
parallel = true
66+
67+
68+
[tool.ruff.lint.isort]
69+
combine-as-imports = true
70+
lines-after-imports = 2

tox.ini

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
isolated_build = True
66
envlist =
77
py37-pytest{70,74}-mypy{10,14}
8-
{py38,py39,py310,py311,py312}-pytest{70,74,80}-mypy{10,18}
9-
py-pytest{70,74,80}-mypy{10,18}
8+
{py38,py39,py310,py311,py312}-pytest{70,81}-mypy{10,18}
9+
py-pytest{70,81}-mypy{10,18}
1010
linting
1111
minversion = 3.28
1212

@@ -19,7 +19,9 @@ deps =
1919
pytest71: pytest~=7.1.3
2020
pytest72: pytest~=7.2.2
2121
pytest74: pytest~=7.4.4
22-
pytest80: pytest~=8.0.1
22+
pytest80: pytest~=8.0.2
23+
pytest80: pytest~=8.0.2
24+
pytest81: pytest==8.1.0 # to test with the yanked version
2325
mypy10: mypy==1.0.1
2426
mypy14: mypy==1.4.1 # last version to support Python 3.7
2527
mypy17: mypy==1.7.1

0 commit comments

Comments
 (0)