Skip to content

Commit

Permalink
Run tox with 3.12 and drop 3.7
Browse files Browse the repository at this point in the history
  • Loading branch information
iurisilvio committed Feb 24, 2024
1 parent 1ef9b22 commit 8a6a5a3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ requires = ["poetry-core>=1.0.0", "poetry-dynamic-versioning"]
build-backend = "poetry_dynamic_versioning.backend"

[tool.poetry.dependencies]
python = "^3.7"
python = "^3.8"
ruff = ">=0.0.242"

[tool.poetry.group.dev.dependencies]
Expand Down
9 changes: 4 additions & 5 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,26 +1,25 @@
[tox]
isolated_build = true
envlist = py{37,38,39,310,311}
envlist = py{38,39,310,311,312}

[testenv]
allowlist_externals = poetry
commands =
poetry install --no-root --with dev
poetry run pytest
poetry run pytest -vvv {posargs}

[testenv:lint]
description = lint source code
deps =
black
ruff
commands =
black --check .
ruff check .
ruff format .

[gh-actions]
python =
3.7: py37
3.8: py38
3.9: py39
3.10: py310
3.11: py311
3.12: py312

0 comments on commit 8a6a5a3

Please sign in to comment.