Skip to content

Commit

Permalink
Update tox config.
Browse files Browse the repository at this point in the history
  • Loading branch information
stephrdev committed Feb 20, 2023
1 parent 13b6fa7 commit 4296d43
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions .python-version
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
3.10.2
3.9.4
3.8.9
3.7.8
3.10.8
3.9.16
3.8.15
3.7.16
6 changes: 3 additions & 3 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,13 @@ deps =
pytest7: pytest>=7,<8
isort4: isort>=4,<5
isort5: isort>=5,<6
whitelist_externals =
allowlist_externals =
poetry
sh
skip_install = true
commands =
poetry export --with dev --without-hashes -o {toxworkdir}/reqs.txt
sh -c 'grep -vE "^(pytest|isort|pytest-flake8)==" {toxworkdir}/reqs.txt | poetry run pip install --no-deps -r /dev/stdin'
sh -c 'grep -vE "^(pytest|isort|pytest-flake8)==" {toxworkdir}/reqs.txt | python -m pip install --no-deps -r /dev/stdin'
poetry build -f wheel
sh -c 'pip install dist/*.whl'
poetry run pytest --isort
pytest --isort

0 comments on commit 4296d43

Please sign in to comment.