[tox]
envlist = py27, py34, py35, flake8

[testenv:flake8]
basepython=python
deps=flake8
commands=flake8 pythainlp

[testenv]
setenv =
    PYTHONPATH = {toxinidir}:{toxinidir}/pythainlp

commands = python setup.py test

; 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

[tox]
envlist = py27, py34, py35, flake8

[testenv:flake8]
basepython = python
deps = flake8
commands = flake8 pythainlp

[flake8]
exclude =
  **/.ipynb_checkpoints,

[testenv]
setenv =
    PYTHONPATH = {toxinidir}:{toxinidir}/pythainlp

commands = python setup.py test

; 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

Exclude .ipynb_checkpoints folder in Flake8 check
Exclude .ipynb_checkpoints folder in Flake8 check
