summaryrefslogtreecommitdiff
path: root/tox.ini
blob: e0697f432e05eaa1280785d3a29948d9281d099b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
[tox]
envlist = py37,py38,py37-sphinx,py37-flake8

[testenv]
deps=
    PyMySQL
    psycopg2
    pytest
    mock
    frozendate
    tms

commands=py.test []

[testenv:py37-sphinx]
deps=
    hg+http://bitbucket.org/ollyc/fresco-sphinx-theme#egg=fresco_sphinx_theme
    sphinx
    {[testenv]deps}

commands=
    sphinx-build -b doctest doc html
    sphinx-build doc htmldocs

[testenv:py37-flake8]
deps=
    flake8
    {[testenv]deps}

commands=
    flake8 yoyo

[flake8]
#: W503 line break before binary operator
ignore = W503