-
Notifications
You must be signed in to change notification settings - Fork 2
/
base.cfg
118 lines (100 loc) · 2.25 KB
/
base.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
[buildout]
package-name = imio.helpers
package-extras = [test,pdf,lxml]
extends =
https://raw.githubusercontent.com/collective/buildout.plonetest/master/qa.cfg
sources.cfg
extensions =
mr.developer
plone.versioncheck
parts =
instance
omelette
ploneversioncheck
createcoverage
robot
# coverage
# test-coverage
# plone-helper-scripts
develop = .
eggs +=
Plone
Pillow
# Products.PDBDebugMode
# collective.profiler
# ipdb
pdbpp
# plone.reload
package-extras +=
pdbpp
# [instance]
# recipe = plone.recipe.zope2instance
# user = admin:admin
# http-address = 8080
# environment-vars =
# zope_i18n_compile_mo_files true
# eggs =
# PACKAGE_NAME [test]
# [test]
# recipe = zc.recipe.testrunner
# eggs = ${instance:eggs}
# initialization =
# os.environ['TZ'] = 'UTC'
# defaults = ['-s', 'PACKAGE_NAME', '--auto-color', '--auto-progress']
always-checkout = force
auto-checkout +=
appy
collective.behavior.talcondition
imio.pyutils
[testenv]
decorate_acl_methods = true
[omelette]
recipe = collective.recipe.omelette
eggs = ${test:eggs}
[instance]
eggs +=
${buildout:eggs}
iw.debug
zcml +=
iw.debug
[ploneversioncheck]
recipe = zc.recipe.egg
eggs = plone.versioncheck
[code-analysis]
recipe = plone.recipe.codeanalysis
pre-commit-hook = True
return-status-codes = True
directory = ${buildout:directory}/src/imio/helpers
flake8-ignore = E123,E124,E501,E126,E127,E128,W391,C901,W503,W504
flake8-extensions =
flake8-isort
[robot]
recipe = zc.recipe.egg
eggs =
Pillow
${test:eggs}
plone.app.robotframework[reload, debug]
[coverage]
recipe = zc.recipe.egg
eggs = coverage
[test-coverage]
recipe = collective.recipe.template
input = inline:
#!/bin/bash
export TZ=UTC
${buildout:directory}/bin/coverage run bin/test $*
${buildout:directory}/bin/coverage html
${buildout:directory}/bin/coverage report -m --fail-under=90
# Fail (exit status 1) if coverage returns exit status 2 (this happens
# when test coverage is below 100%.
output = ${buildout:directory}/bin/test-coverage
mode = 755
[plone-helper-scripts]
recipe = zc.recipe.egg
eggs =
Products.CMFPlone
${instance:eggs}
interpreter = zopepy
scripts =
zopepy
plone-compile-resources