1
0
Fork 0
mirror of https://github.com/deltachat/deltachat-core.git synced 2025-10-05 19:42:04 +02:00
deltachat-core/python/tox.ini
holger krekel 75f8169072 address #273 -- introduce attr for contact/chat/message/EventHandler
also refine the GC-handling of contact and message pointers.
free-ing dc_context pointers currently does not work because
the threads are keeping a reference and not shutting down.
help on this shutdown issue from @r10s or @flub welcome.
I think fixing the context GC/shutdown issue should not hold
up merging this branch.
2018-09-13 12:17:31 +02:00

38 lines
662 B
INI

[tox]
minversion = 2.0
distshare = {homedir}/.tox/distshare
# make sure to update environment list in travis.yml and appveyor.yml
envlist =
py27
py35
lint
[testenv]
commands = pytest {posargs:tests}
usedevelop = True
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
[pytest]
python_files = tests/test_*.py
norecursedirs = .tox
xfail_strict=true
[flake8]
max-line-length = 120