-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Move tox configurion to tox.ini until tox-dev/tox#999 is addressed. * Run tox on 3.9 - 3.11 * Improve poetry compatibility * Add isort
- Loading branch information
Jörn Heissler
committed
Mar 18, 2023
1 parent
c75590b
commit 24ae71f
Showing
2 changed files
with
16 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
[tox] | ||
isolated_build = true | ||
skipsdist = true | ||
envlist = py39, py310, py311 | ||
|
||
[testenv] | ||
skip_install = true | ||
allowlist_externals = poetry | ||
commands_pre = | ||
poetry install | ||
commands = | ||
poetry run mypy --strict --no-strict-equality pvss tests | ||
poetry run coverage erase | ||
poetry run coverage run -m pytest -v --strict-markers tests | ||
poetry run coverage html | ||
poetry run isort -c --diff pvss tests |