forked from kivy-garden/garden.mapview
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
26 lines (23 loc) · 579 Bytes
/
tox.ini
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
[tox]
envlist = pep8,py27,py36
skipsdist = True
# trick to enable pre-installation of Cython
# https://stackoverflow.com/a/50081741/185510
indexserver =
preinstall = https://pypi.python.org/simple
[testenv]
passenv = DISPLAY XDG_RUNTIME_DIR
basepython = python2.7
deps =
:preinstall: Cython==0.28.2
-r{toxinidir}/requirements.txt
kivy
commands =
python -m unittest discover --top-level-directory=. --start-directory=tests/
[testenv:pep8]
deps = flake8
commands = flake8 mapview/ examples/
[flake8]
ignore =
E122, E128, E265, E402, E501,
F401, W504