-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathjenkins.cfg
105 lines (93 loc) · 2.99 KB
/
jenkins.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
[buildout]
versions = versions
extends =
_base.cfg
_sources_https.cfg
mongoauth.cfg
customizeme.cfg
versions.cfg
https://raw.github.com/plone/buildout.jenkins/master/jenkins.cfg
https://raw.github.com/plone/buildout.jenkins/master/jenkins-code-analysis.cfg
jenkins-test-eggs =
max[test]
jenkins-test-directories =
src/max/max
extensions = mr.developer
always-checkout = force
auto-checkout =
max
maxutils
bigmax
maxclient
hubclient
max.ui.js
maxcarrot
maxscripts
maxbunny
maxtweety
osiris
pyramid_osiris
parts =
# Framework
max
supervisor
# tests
coverage
test
# Databases & messaging
mongodb
# Config files
mongodb-config
max-ini
maxsettings
common-ini
mongocli
jenkins-test
jenkins-test-coverage
pylint
[jenkins-test]
defaults = ['--auto-color', '--auto-progress', '--xml', '-t', '!api']
[supervisor]
recipe = collective.recipe.supervisor
port = 9101
user = admin
password = admin
serverurl = http://localhost:9101
programs =
10 mongodb ${buildout:directory}/bin/mongod [--config ${buildout:directory}/config/mongodb.conf] true
[pylint]
recipe = zc.recipe.egg
eggs = logilab.pylintinstaller
${buildout:jenkins-test-eggs}
#extra-paths = ${instance:location}/lib/python
entry-points = pylint=pylint.lint:Run
arguments = sys.argv[1:]
arguments = [
'--output-format=parseable',
'--zope=y',
'--reports=y',
'--disable=E0611,F0401,W0232,E1101,C0103,C0111,R0201,W0201,R0911,R0904,F0220,E1103,R0901,E0211,E0213,E1002,W0622,C0301,W0142',
'--generated-members=objects',
] + sys.argv[1:]
# Disable messages:
#
# E0611: No name %r in module %r. Used when a name cannot be found in a module.
# F0401: Unable to import %r (%s). Used when pylint has been unable to import a module.
# W0232: Class has no __init__ method. Used when a class has no __init__ method, neither its parent classes.
# C0103: Invalid name "%s" (should match %s). Used when the name doesn't match the regular expression associated to its type (constant, variable, class...).
# C0111: Message Missing docstring Description Used when a module, function, class or method has no docstring. Some special methods like init don't necessary require a docstring. Explanation…
# R0201: Method could be a function
# W0201: Attribute %r defined outside __init__
# R0911: Too many return statements (%s/%s)
# E0211: Method has no argument
# - Reason: raises an error on zope.interface definitions
# E0213 Method should have "self" as first argument
# - Reason: raises an error on zope.interface definitions
# E1121 Too many positional arguments for function call
# - Reason: ???
# E1002 Use super on an old style class
# - Reason: super(CommentsViewlet, self).update() raises an error
# W0622 total_comments: Redefining built-in 'object'
# - Reason: top level def function will not work (e.g. for catalog indexers)
# ...
# See http://pylint-messages.wikidot.com/all-messages for a full list.