ceph-mirror/qa/tox.ini
Dan Mick 70880723ea various: update pip+https URLs to new form.
See Fixes: for a discussion.

Fixes: https://tracker.ceph.com/issues/72917
Signed-off-by: Dan Mick <dan.mick@redhat.com>
2025-09-08 17:55:40 -07:00

48 lines
935 B
INI

[tox]
envlist = flake8, mypy, pytest, deadsymlinks
skipsdist = True
[testenv]
setenv =
LC_ALL = C.UTF-8
LANG = C
[testenv:flake8]
basepython = python3
deps=
flake8
commands=flake8 --select=F,E9 --exclude=venv,.tox
[testenv:mypy]
basepython = python3
deps =
mypy
types-boto
types-redis
types-requests
types-jwt
types-paramiko
types-PyYAML
types-cryptography
types-python-dateutil
-c{toxinidir}/../src/mypy-constrains.txt
commands = mypy --no-namespace-packages {posargs:.}
[testenv:py3]
basepython = python3
deps =
teuthology[coverage,orchestra,test]@{env:TEUTHOLOGY_GIT:git+https://github.com/ceph/teuthology.git@main}
httplib2
pytest
commands =
pytest --assert=plain test_import.py
pytest tasks/tests --suite-dir {toxinidir}/suites {posargs}
[testenv:deadsymlinks]
basepython = python3
toxworkdir = {toxinidir}
allowlist_externals =
bash
commands =
bash -c '! (find . -xtype l | grep ^)'