[tox]
envlist=py{36,37,38,39,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
[tox]
envlist=py{36,37,38,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

Remove py39 - tensorflow is supported yet
Remove py39 - tensorflow is supported yet