Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
87 lines (77 sloc) 1.93 KB
[buildout]
extends = versions.cfg
parts =
app
test
coverage-test
coverage-report
pep8-bin
pep8
pylint-bin
pylint
develop =
.
eggs =
serval
allow-picked-versions = false
versions = versions
[app]
recipe = zc.recipe.egg:scripts
eggs =
${buildout:eggs}
[var]
recipe = plone.recipe.command
directory = ${buildout:directory}/var
command = mkdir ${:directory}
[test]
recipe = zc.recipe.testrunner
eggs = ${buildout:eggs}
defaults = ['--tests-pattern', '^f?tests$', '-v']
[coverage-test]
recipe = zc.recipe.testrunner
eggs = ${test:eggs}
defaults = ['--coverage', '${var:directory}/coverage', '-v', '--auto-progress']
[coverage-report]
recipe = zc.recipe.egg
eggs = z3c.coverage
scripts = coveragereport
arguments = ('${var:directory}/coverage', '${var:directory}/report')
[pep8-bin]
recipe = zc.recipe.egg
eggs =
pep8
entry-points = pep8-bin=pep8:_main
[pep8]
recipe = collective.recipe.template
input = inline:
#!/bin/bash
find -L src -type f -regex ".*\.py" | xargs bin/pep8-bin
output = ${buildout:directory}/bin/pep8
mode = 755
# :F0401: Unable to import %r (%s). Pylint has been unable to import a module.
# :C0111: *Missing docstring*
# :C0103: *Invalid name "%s" (should match %s)*
# :W0142: *Used * or ** magic*
# :W0232: *Class has no __init__ method*
# :E1101: *%s %r has no %r member*
# :R0911: Too many return statements (%s/%s)
[pylint-bin]
recipe = zc.recipe.egg
eggs = pylint
entry-points = pylint-bin=pylint.lint:Run
arguments = [
'--output-format=parseable',
'--reports=y',
'--include-ids=y',
'--disable=F0401,C0111,C0103,W0142,W0232,E1101,R0911',
'--generated-members=objects',
'--min-public-methods=0',
'--max-public-methods=30',
] + sys.argv[1:]
[pylint]
recipe = collective.recipe.template
input = inline:
#!/bin/bash
find -L src -type f -regex ".*\.py" | xargs bin/pylint-bin $@
output = ${buildout:directory}/bin/pylint
mode = 755
Jump to Line
Something went wrong with that request. Please try again.