# content of: tox.ini , put in same dir as setup.py
[tox]
envlist = py36, lint
skip_missing_interpreters = True

[tool:unittest]
testpaths = tests

[testenv]
ignore_errors = True
changedir = tests
commands =
    py.test -v --cov-report term-missing --cov brottsplatskartan
deps =
    pytest
    pytest-cov

[testenv:lint]
ignore_errors = True
changedir = tests
commands =
    flake8
    pylint --output-format=colorized brottsplatskartan
    pydocstyle brottsplatskartan
deps =
    flake8
    pylint
    pydocstyle
