summaryrefslogtreecommitdiffstats
path: root/src/pybind/mgr/rook/rook-client-python/tox.ini
blob: 0b164c3a7d5a4e1088ff36a5f704d02db054b86b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
[tox]
envlist = py2,py36,py37,py38,mypy
skipsdist = true


[testenv]
deps = -rrequirements.txt
commands = pytest {posargs}


[testenv:mypy]
basepython = python3
deps =
    -rrequirements.txt
    mypy
commands = 
  mkcodes --github --output rook_client/tests/test_\{name\}.py README.md
  mypy --config-file=mypy.ini \
      rook_client \
      conftest.py \
      generate_model_classes.py \
      setup.py