mirror of
https://github.com/deltachat/deltachat-core.git
synced 2025-10-03 17:59:19 +02:00

- add forgotten data file - rename Chat.send_text_message to Chat.send_text - add optional mime-type param to Chat.send_file - properly install the package instead of "usedevelop" mode
47 lines
744 B
INI
47 lines
744 B
INI
[tox]
|
|
# make sure to update environment list in travis.yml and appveyor.yml
|
|
envlist =
|
|
py27
|
|
py35
|
|
lint
|
|
|
|
[testenv]
|
|
commands = pytest -rsXx {posargs:tests}
|
|
passenv = TRAVIS
|
|
deps =
|
|
pytest
|
|
pytest-faulthandler
|
|
pdbpp
|
|
|
|
[testenv:lint]
|
|
skipsdist = True
|
|
usedevelop = True
|
|
basepython = python2.7
|
|
deps =
|
|
flake8
|
|
# pygments required by rst-lint
|
|
pygments
|
|
restructuredtext_lint
|
|
commands =
|
|
flake8 src/deltachat
|
|
flake8 tests/
|
|
rst-lint --encoding 'utf-8' README.rst
|
|
|
|
[testenv:doc]
|
|
usedevelop = True
|
|
deps =
|
|
sphinx
|
|
breathe
|
|
|
|
changedir = doc
|
|
commands =
|
|
sphinx-build -b html . _build/html
|
|
|
|
|
|
[pytest]
|
|
python_files = tests/test_*.py
|
|
norecursedirs = .tox
|
|
xfail_strict=true
|
|
|
|
[flake8]
|
|
max-line-length = 120
|