-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
513d83d
commit 12564ff
Showing
6 changed files
with
34 additions
and
23 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,6 +6,7 @@ | |
.mypy_cache/ | ||
.pytest_cache/ | ||
.tox/ | ||
coverage*.xml | ||
.venv/ | ||
__pycache__ | ||
build/ | ||
|
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
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 |
---|---|---|
|
@@ -17,7 +17,7 @@ | |
|
||
|
||
TEST_REQUIRES = [ | ||
"pytest~=6.1.2", | ||
"pytest~=7.4.3", | ||
] | ||
|
||
|
||
|
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 |
---|---|---|
@@ -1,50 +1,59 @@ | ||
[tox] | ||
envlist = py38, py39, py310, py311, py312, flake8, pylint, codespell, typing, black | ||
|
||
[gh-actions] | ||
python = | ||
3.8: py38 | ||
3.9: py39 | ||
3.10: py310 | ||
3.11: py311 | ||
3.12: py312, flake8, pylint, codespell, typing, black | ||
|
||
[testenv] | ||
commands = py.test --cov=didl_lite --cov-report=term {posargs} | ||
commands = py.test --cov=didl_lite --cov-report=term --cov-report=xml:coverage-{env_name}.xml {posargs} | ||
ignore_errors = True | ||
deps = | ||
pytest ~= 6.2.4 | ||
pytest-asyncio ~= 0.15.1 | ||
pytest-cov ~= 2.12.1 | ||
coverage ~= 5.5 | ||
pytest == 7.4.3 | ||
pytest-asyncio ~= 0.23.2 | ||
pytest-cov ~= 4.1.0 | ||
coverage ~= 7.3.3 | ||
asyncmock ~= 0.4.2 | ||
|
||
[testenv:flake8] | ||
basepython = python3 | ||
ignore_errors = True | ||
deps = | ||
flake8 >= 3.9.2 | ||
flake8-docstrings == 1.6.0 | ||
flake8-noqa == 1.1.0 | ||
pydocstyle == 6.1.1 | ||
flake8 ~= 6.1.0 | ||
flake8-docstrings == 1.7.0 | ||
flake8-noqa == 1.3.2 | ||
pydocstyle == 6.3.0 | ||
commands = flake8 didl_lite tests | ||
|
||
[testenv:pylint] | ||
basepython = python3 | ||
ignore_errors = True | ||
deps = | ||
pylint ~= 2.11.1 | ||
pytest ~= 6.2.4 | ||
pylint ~= 3.0.3 | ||
pytest == 7.4.3 | ||
commands = pylint didl_lite tests | ||
|
||
[testenv:codespell] | ||
basepython = python3 | ||
ignore_errors = True | ||
deps = | ||
codespell >= 2.1.0 | ||
codespell ~= 2.2.6 | ||
commands = codespell didl_lite tests | ||
|
||
[testenv:typing] | ||
basepython = python3 | ||
ignore_errors = True | ||
deps = | ||
mypy >= 0.910 | ||
pytest ~= 6.2.4 | ||
mypy ~= 1.7.1 | ||
pytest == 7.4.3 | ||
commands = mypy --ignore-missing-imports didl_lite tests | ||
|
||
[testenv:black] | ||
basepython = python3 | ||
deps = | ||
black >= 21.7b0 | ||
black >= 23.12.0 | ||
commands = black --diff didl_lite tests |