2012-06-06 08:33:18 +04:00
|
|
|
[tox]
|
2023-05-01 22:16:00 +03:00
|
|
|
requires =
|
|
|
|
tox>=4.2
|
|
|
|
env_list =
|
2019-01-13 19:55:06 +03:00
|
|
|
lint
|
2024-07-03 09:44:45 +03:00
|
|
|
py{py3, 313, 312, 311, 310, 39}
|
2012-06-06 08:33:18 +04:00
|
|
|
|
|
|
|
[testenv]
|
2022-12-13 19:04:30 +03:00
|
|
|
deps =
|
|
|
|
numpy
|
2022-02-19 16:39:37 +03:00
|
|
|
extras =
|
|
|
|
tests
|
2012-06-06 08:33:18 +04:00
|
|
|
commands =
|
2021-12-24 03:12:51 +03:00
|
|
|
make clean
|
2023-05-20 08:19:58 +03:00
|
|
|
{envpython} -m pip install .
|
2013-03-07 18:06:51 +04:00
|
|
|
{envpython} selftest.py
|
2020-01-27 04:30:27 +03:00
|
|
|
{envpython} -m pytest -W always {posargs}
|
2023-04-03 23:08:23 +03:00
|
|
|
allowlist_externals =
|
|
|
|
make
|
2019-01-13 19:55:06 +03:00
|
|
|
|
|
|
|
[testenv:lint]
|
2022-12-13 19:04:30 +03:00
|
|
|
skip_install = true
|
2019-01-13 19:55:06 +03:00
|
|
|
deps =
|
2022-12-13 19:04:30 +03:00
|
|
|
check-manifest
|
2020-02-05 18:59:04 +03:00
|
|
|
pre-commit
|
2023-05-01 22:16:00 +03:00
|
|
|
pass_env =
|
2023-04-03 23:08:23 +03:00
|
|
|
PRE_COMMIT_COLOR
|
2022-12-13 19:04:30 +03:00
|
|
|
commands =
|
|
|
|
pre-commit run --all-files --show-diff-on-failure
|
2019-01-13 19:55:06 +03:00
|
|
|
check-manifest
|
2023-06-30 18:50:18 +03:00
|
|
|
|
|
|
|
[testenv:mypy]
|
|
|
|
skip_install = true
|
|
|
|
deps =
|
2024-02-19 17:47:07 +03:00
|
|
|
-r .ci/requirements-mypy.txt
|
2024-02-10 11:50:45 +03:00
|
|
|
IceSpringPySideStubs-PyQt6
|
|
|
|
IceSpringPySideStubs-PySide6
|
2024-01-13 06:40:59 +03:00
|
|
|
ipython
|
2023-12-19 12:25:42 +03:00
|
|
|
numpy
|
2024-02-10 11:50:45 +03:00
|
|
|
packaging
|
2024-07-06 12:17:23 +03:00
|
|
|
pytest
|
2024-02-10 11:50:45 +03:00
|
|
|
types-defusedxml
|
2024-02-17 12:21:25 +03:00
|
|
|
types-olefile
|
2024-07-06 12:17:23 +03:00
|
|
|
types-setuptools
|
2023-12-27 16:54:48 +03:00
|
|
|
extras =
|
|
|
|
typing
|
2023-12-27 16:57:20 +03:00
|
|
|
commands =
|
2024-07-06 12:17:23 +03:00
|
|
|
mypy src Tests {posargs}
|