mirror of
https://github.com/kennethreitz/tablib.git
synced 2026-06-05 15:00:19 +00:00
b539e96697
* Move docs and lint to their own [3.8] build job for more parallelism * No codecov for docs or lint * Move isort into pre-commit * Add some handy linters to pre-commit * Add rst-backticks linter and fix the errors * Add pyupgrade and add upgrades * Test docs and lint on GitHub Actions * Xenial is default
37 lines
615 B
INI
37 lines
615 B
INI
[tox]
|
|
usedevelop = true
|
|
minversion = 2.4
|
|
envlist =
|
|
docs
|
|
lint
|
|
py{35,36,37,38}
|
|
|
|
[testenv]
|
|
deps =
|
|
tests: -rtests/requirements.txt
|
|
docs: sphinx
|
|
extras = pandas
|
|
commands =
|
|
tests: pytest {posargs:tests}
|
|
docs: sphinx-build -b html -d {envtmpdir}/doctrees docs {envtmpdir}/html
|
|
|
|
[testenv:lint]
|
|
deps =
|
|
check-manifest
|
|
flake8
|
|
# flake8-black
|
|
pre-commit
|
|
twine
|
|
commands =
|
|
# flake8 src/tablib tests/
|
|
pre-commit run --all-files
|
|
check-manifest -v
|
|
python setup.py sdist
|
|
twine check dist/*
|
|
skip_install = true
|
|
|
|
[flake8]
|
|
exclude =
|
|
.tox
|
|
ignore=E501,E127,E128,E124
|