2018-01-25 00:00:28 +00:00
|
|
|
[tox]
|
|
|
|
envlist=
|
2018-07-12 15:08:32 +00:00
|
|
|
py{36}-core
|
2018-01-25 00:00:28 +00:00
|
|
|
lint
|
2018-02-07 19:14:11 +00:00
|
|
|
doctest
|
2018-01-25 00:00:28 +00:00
|
|
|
|
|
|
|
[isort]
|
|
|
|
combine_as_imports=True
|
|
|
|
force_sort_within_sections=True
|
|
|
|
include_trailing_comma=True
|
2018-06-05 00:40:58 +00:00
|
|
|
known_third_party=hypothesis,pytest
|
2018-07-12 14:34:31 +00:00
|
|
|
known_first_party=vdb
|
2018-01-25 00:00:28 +00:00
|
|
|
line_length=21
|
|
|
|
multi_line_output=3
|
|
|
|
use_parentheses=True
|
|
|
|
|
|
|
|
[flake8]
|
|
|
|
max-line-length= 100
|
|
|
|
exclude= venv*,.tox,docs,build
|
|
|
|
ignore=
|
|
|
|
|
|
|
|
[testenv]
|
|
|
|
usedevelop=True
|
|
|
|
commands=
|
2018-06-04 22:36:02 +00:00
|
|
|
core: pytest {posargs:tests/core}
|
2018-02-07 19:14:11 +00:00
|
|
|
doctest: make -C {toxinidir}/docs doctest
|
2018-01-25 00:00:28 +00:00
|
|
|
basepython =
|
2018-02-07 19:26:47 +00:00
|
|
|
doctest: python
|
2018-01-25 00:00:28 +00:00
|
|
|
py36: python3.6
|
2018-07-12 15:08:32 +00:00
|
|
|
|
2018-02-07 19:14:11 +00:00
|
|
|
extras=
|
|
|
|
test
|
|
|
|
doctest: doc
|
2018-02-07 22:40:01 +00:00
|
|
|
whitelist_externals=make
|
2018-01-25 00:00:28 +00:00
|
|
|
|
|
|
|
[testenv:lint]
|
2018-02-07 19:26:47 +00:00
|
|
|
basepython=python
|
2018-01-25 00:00:28 +00:00
|
|
|
extras=lint
|
|
|
|
commands=
|
2018-07-12 14:34:31 +00:00
|
|
|
flake8 {toxinidir}/vdb {toxinidir}/tests
|