blob: 0934173f25aec5261aac6d5ffbbb9df15b1bf4c2 (
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
|
[tox]
usedevelop = true
minversion = 2.4
envlist =
docs
lint
py{36,37,38,39}
[testenv]
deps =
-rtests/requirements.txt
extras = pandas
passenv =
FORCE_COLOR
commands =
pytest {posargs:tests}
[testenv:docs]
deps =
sphinx
commands =
sphinx-build -b html -d {envtmpdir}/doctrees docs {envtmpdir}/html
[testenv:lint]
deps =
flake8
# flake8-black
pre-commit
twine
commands =
# flake8 src/tablib tests/
pre-commit run --all-files
python setup.py sdist
twine check dist/*
skip_install = true
[flake8]
exclude =
.tox
|