blob: 2c80fed5091d2c32984fef831226632f11d3b84a (
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
39
40
41
42
|
[tox]
envlist = py37,py38,py39,py310,py310-sphinx,py310-linters
[testenv]
deps=
PyMySQL
psycopg2
psycopg
pytest
freezegun
tms
commands=pytest []
[testenv:py310-sphinx]
deps=
hg+http://hg.sr.ht/~olly/fresco-sphinx-theme#egg=fresco_sphinx_theme
sphinx
{[testenv]deps}
commands=
sphinx-build -M doctest "{toxinidir}/doc/" "{toxinidir}_build"
[testenv:py310-linters]
deps=
flake8
mypy
types-mock
types-setuptools
types-tabulate
{[testenv]deps}
commands=
flake8 yoyo
mypy yoyo []
[flake8]
# E203: Whitespace before ':' (black does this)
# W503: line break before binary operator
ignore =
E203
W503
max-line-length = 88
|