forked from kagesenshi/collective.barcamp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
buildout.cfg
135 lines (117 loc) · 2.92 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
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
[buildout]
extensions = mr.developer
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
sources-dir = dev
sources = sources
auto-checkout = diazotheme.bootstrap
newest = false
show-picked-versions = true
package-name = collective.barcamp
package-extras = [test]
eggs +=
Products.PDBDebugMode
Products.PrintingMailHost
aws.zope2zcmldoc
iw.debug
plone.app.debugtoolbar
sauna.reload
parts +=
instance-sitecustomize
checkversions
dependencychecker
i18ndude
omelette
coverage
report
robot
robot-server
[instance]
debug-mode = on
deprecation-warnings = on
event-log-level = debug
verbose-security = on
eggs +=
${buildout:auto-checkout}
zcml +=
${buildout:auto-checkout}
${buildout:package-name}
iw.debug
zope-conf-additional = %import sauna.reload
environment-vars =
ENABLE_PRINTING_MAILHOST True
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}
[coverage]
recipe = zc.recipe.egg
eggs = coverage
initialization =
include = '--source=${buildout:directory}/collective'
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
[code-analysis]
directory = ${buildout:directory}/collective/barcamp
multiprocessing = True
pre-commit-hook = True
flake8-ignore = E501
clean-lines = True
deprecated-aliases = True
imports = True
prefer-single-quotes = True
utf8-header = True
flake8-max-complexity = 12
flake8-extensions =
# flake8-blind-except
flake8-coding
flake8-debugger
flake8-quotes
# pep8-naming
# flake8-plone-api
[versions]
# use latest version of setuptools
setuptools =
[sources]
diazotheme.bootstrap = git https://github.com/kagesenshi/diazotheme.bootstrap.git