diff --git a/pyproject.toml b/pyproject.toml index 768ecc6..4e58937 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -42,6 +42,7 @@ mypy-testing = "pytest_mypy_testing.plugin" [tool.flit.sdist] include = ["src/pytest_mypy_testing/_version.py"] + [tool.black] line-length = 88 target-version = ['py37', 'py38', 'py39', 'py310', 'py311', 'py312'] @@ -53,6 +54,7 @@ extend-exclude = ''' ) ''' + [tool.coverage.run] include = [ 'src/*', @@ -61,3 +63,8 @@ include = [ ] data_file = 'build/coverage-data/coverage' parallel = true + + +[tool.ruff.lint.isort] +combine-as-imports = true +lines-after-imports = 2 diff --git a/tox.ini b/tox.ini index 82f66cf..22748c6 100644 --- a/tox.ini +++ b/tox.ini @@ -5,8 +5,8 @@ isolated_build = True envlist = py37-pytest{70,74}-mypy{10,14} - {py38,py39,py310,py311,py312}-pytest{70,74,80}-mypy{10,18} - py-pytest{70,74,80}-mypy{10,18} + {py38,py39,py310,py311,py312}-pytest{70,81}-mypy{10,18} + py-pytest{70,81}-mypy{10,18} linting minversion = 3.28 @@ -19,7 +19,9 @@ deps = pytest71: pytest~=7.1.3 pytest72: pytest~=7.2.2 pytest74: pytest~=7.4.4 - pytest80: pytest~=8.0.1 + pytest80: pytest~=8.0.2 + pytest80: pytest~=8.0.2 + pytest81: pytest==8.1.0 # to test with the yanked version mypy10: mypy==1.0.1 mypy14: mypy==1.4.1 # last version to support Python 3.7 mypy17: mypy==1.7.1