summaryrefslogtreecommitdiff
path: root/tox.ini
blob: e7677aea3eb72fe0c647a83df81528903128a87e (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
36
37
38
[tox]
envlist = py37,py38,py37-sphinx,py37-flake8

[testenv]
deps=
    PyMySQL
    psycopg2
    pytest
    mock
    frozendate
    tms

commands=pytest []

[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]
# E203: Whitespace before ':' (black does this)
# W503: line break before binary operator
ignore =
    E203
    W503