Skip to content

Commit

Permalink
Update tox to v4 and get rid of tox-pyenv
Browse files Browse the repository at this point in the history
  • Loading branch information
mikelane committed Mar 11, 2023
1 parent 24799df commit 305f3de
Show file tree
Hide file tree
Showing 3 changed files with 64 additions and 52 deletions.
103 changes: 61 additions & 42 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,7 @@ pytest-mock = "^3.10.0"
pytest-picked = "^0.4.6"
pytest-sugar = "^0.9.6"
pytest-xdist = "^3.2.0"
tox = "^3.28.0"
tox-pyenv = "^1.1.0"
tox = "^4.4.6"
isort = "^5.12.0"
pytest-isort = "^3.1.0"
pydantic = "^1.10.6"
Expand Down
10 changes: 2 additions & 8 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,7 @@ envlist = py38, py39, py310, py311
basepython = python3

[testenv]
deps = pytest
whitelist_externals = poetry
allowlist_externals = poetry
commands =
poetry install -v
poetry run pytest

[testenv:py39]
commands =
poetry install -vvv
poetry run pytest -vvv --mypy --black --isort --force-sugar --tb=native --cov=reddit_get --cov-fail-under=90 --color=yes --code-highlight=yes --durations=10
poetry run pytest -v --mypy --black --isort --force-sugar --tb=native --cov=reddit_get --cov-fail-under=95 --color=yes --code-highlight=yes --durations=10

0 comments on commit 305f3de

Please sign in to comment.