-
Notifications
You must be signed in to change notification settings - Fork 1
/
buildout.cfg
111 lines (97 loc) · 2.42 KB
/
buildout.cfg
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
[buildout]
extends =
https://raw.github.com/collective/buildout.plonetest/master/test-4.3.x.cfg
https://raw.github.com/collective/buildout.plonetest/master/qa.cfg
versions-4.3.x.cfg
show-picked-versions = true
package-name = canaimagnulinux.web.theme
package-extras = [test]
eggs +=
iw.debug
plone.reload
zptlint
parts +=
instance-sitecustomize
checkversions
dependencychecker
i18ndude
omelette
coverage
report
robot
robot-server
[instance]
zcml +=
iw.debug
zope-conf-additional = %import sauna.reload
environment-vars =
PTS_LANGUAGES en es
zope_i18n_allowed_languages en es
zope_i18n_compile_mo_files true
[instance-sitecustomize]
recipe = collective.recipe.template
output = ${buildout:bin-directory}/sitecustomize.py
mode = 600
input = inline:
import sys
sys.setdefaultencoding('utf-8')
[checkversions]
recipe = zc.recipe.egg
eggs = z3c.checkversions [buildout]
[dependencychecker]
recipe = zc.recipe.egg
eggs = z3c.dependencychecker
[i18ndude]
recipe = zc.recipe.egg
eggs = i18ndude
[omelette]
recipe = collective.recipe.omelette
eggs = ${test:eggs}
[code-analysis]
directory = ${buildout:directory}/canaimagnulinux/web/theme
multiprocessing = True
pre-commit-hook = True
flake8-ignore = E501
zptlint = True
zptlint-bin = ${buildout:bin-directory}/zptlint
clean-lines = True
deprecated-aliases = True
imports = True
flake8-extensions =
# flake8-blind-except
flake8-coding
flake8-debugger
flake8-quotes
# pep8-naming
flake8-plone-api
[coverage]
recipe = zc.recipe.egg
eggs = coverage
initialization =
include = '--source=${buildout:directory}/canaimagnulinux'
sys.argv = sys.argv[:] + ['run', include, 'bin/test', '--all']
[report]
recipe = zc.recipe.egg
eggs = coverage
scripts = coverage=report
initialization =
sys.argv = sys.argv[:] + ['html', '-i']
[robot-server]
recipe = zc.recipe.egg
eggs =
${buildout:package-name} ${buildout:package-extras}
plone.app.robotframework [reload]
initialization =
sys.argv[1:] = ["${buildout:package-name}.testing.ROBOT_TESTING", "-v", "-p", "src/","-p","collective/","-p","Products"] + sys.argv[1:]
scripts = robot-server
[robot]
recipe = zc.recipe.egg
eggs =
${buildout:package-name} ${buildout:package-extras}
plone.app.robotframework [reload]
initialization =
sys.argv[1:] = sys.argv[1:] + ['collective']
scripts = robot
[versions]
# use latest version of setuptools
setuptools =