forked from django-cms/djangocms-link
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
41 lines (36 loc) · 1.1 KB
/
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
[tox]
envlist =
pep8
isort
py{35,34,27}-django{18,19}-cms{dev,32,31}
py{34,27}-django{17,16}-cms{32,31,30}
py{26}-django16-cms{31,30}
skip_missing_interpreters=True
[testenv]
commands = {env:COMMAND:python} setup.py test
deps =
cms30: https://github.com/divio/django-cms/archive/support/3.0.x.zip
cms31: https://github.com/divio/django-cms/archive/support/3.1.x.zip
cms32: https://github.com/divio/django-cms/archive/release/3.2.x.zip
cmsdev: https://github.com/divio/django-cms/archive/develop.zip
https://github.com/nephila/djangocms-helper/archive/develop.zip
djangocms_text_ckeditor
django16: django<1.7
django17: django<1.8
django18: django<1.9
django19: django<1.10
coverage
django-formtools
[testenv:pep8]
deps = flake8
commands = flake8
skip_install = true
[testenv:isort]
deps = isort
commands = isort -c -rc -df djangocms_link
skip_install = true
[flake8]
ignore = E251,E128
exclude = djangocms_link/tests/*,djangocms_link/migrations/*,djangocms_link/south_migrations/*,test_settings.py
# max-line-length should be 80
max-line-length = 100