-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathtox.ini
More file actions
45 lines (40 loc) · 877 Bytes
/
tox.ini
File metadata and controls
45 lines (40 loc) · 877 Bytes
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
40
41
42
43
44
45
[tox]
envlist =
flake8,
deployed,
py27-django{1.9,1.8,1.7}
[testenv]
setenv =
PYTHONPATH = {toxinidir}
commands = python manage.py test orb
basepython =
py27: python2.7
py34: python3.4
py35: python3.5
deps =
django1.7: Django>=1.7,<1.8
django1.8: Django>=1.8,<1.9
django1.9: Django>=1.9,<1.10
django1.10: Django==1.9a1
-r{toxinidir}/requirements/base.txt
[testenv:deployed]
setenv =
PYTHONPATH = {toxinidir}
basepython = python2.7
deps = -r{toxinidir}/requirements/frozen.txt
commands = python manage.py test orb
[testenv:flake8]
basepython=python
deps=flake8
commands=
flake8 orb
[flake8]
ignore = E126,E128
max-line-length = 119
exclude = migrations
max-complexity = 10
[pytest]
DJANGO_SETTINGS_MODULE = config.settings
django_find_project = false
python_paths = "orb"
norecursedirs = node_modules local_data .git