File size: 522 Bytes
e4b9a7b | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | [tox]
envlist=py{39,310,311,312,313,py3},flake8
skip_missing_interpreters = true
[testenv]
setenv = PYTHONPATH = {toxinidir}:{toxinidir}/pythainlp
#commands = python3 -m unittest discover
changedir = tests
commands = discover
deps = discover
; If you want to make tox run the tests with the same versions, create a
; requirements.txt with the pinned versions and uncomment the following lines:
; deps =
; -r{toxinidir}/requirements.txt
[testenv:flake8]
basepython = python
deps = flake8
commands = flake8 pythainlp
|