buku/tox.ini
rachmadani haryono 8afba2d826 Feature/pylint (#185)
* fix: dev: os function name

* new: test: pylint config

* new: test: pylint test

* chg: dev: linting guide

* new: dev: add alternative commented test run command

* chg: dev: max line length on PR template
2017-08-12 16:56:59 +05:30

13 lines
426 B
INI

[tox]
envlist = python33,python34,python35
[testenv]
commands =
pip install -e .[tests]
pip install -r requirements.txt
find . -iname "*.py" | xargs pylint --rcfile .pylintrc
;find . -iname "*.py" -and -not -path './.tox/*' -not -path './build/*' | xargs pylint --rcfile .pylintrcp
python -m flake8
pytest --cov buku -vv {posargs}
;pytest --cov buku -vv -m 'not slowtest and not non_tox'{posargs}