~ubuntu-branches/ubuntu/quantal/slimit/quantal

« back to all changes in this revision

Viewing changes to buildout.cfg

  • Committer: Package Import Robot
  • Author(s): TANIGUCHI Takaki
  • Date: 2012-04-09 00:21:58 UTC
  • Revision ID: package-import@ubuntu.com-20120409002158-9i3uaczeuvrj32wg
Tags: upstream-0.6.2
ImportĀ upstreamĀ versionĀ 0.6.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
[buildout]
 
2
extends = versions.cfg
 
3
newest = false
 
4
include-site-packages = false
 
5
exec-sitecustomize = false
 
6
versions = versions
 
7
# allow-picked-versions = false
 
8
parts =
 
9
      console-scripts
 
10
      test
 
11
      pep8-bin
 
12
      pep8
 
13
      pylint-bin
 
14
      pylint
 
15
      ipython
 
16
      sphinxbuilder
 
17
develop =
 
18
        .
 
19
eggs =
 
20
     slimit
 
21
 
 
22
 
 
23
[console-scripts]
 
24
recipe = z3c.recipe.scripts
 
25
eggs =
 
26
     zope.testrunner
 
27
     createcoverage
 
28
     ${buildout:eggs}
 
29
interpreter=python
 
30
 
 
31
[sphinxbuilder]
 
32
recipe = collective.recipe.sphinxbuilder
 
33
source = ${buildout:directory}/docs-source
 
34
build = ${buildout:directory}/docs
 
35
 
 
36
[ipython]
 
37
recipe = z3c.recipe.scripts
 
38
eggs =
 
39
     ${buildout:eggs}
 
40
     ipython
 
41
scripts=ipython
 
42
 
 
43
[var]
 
44
recipe = plone.recipe.command
 
45
directory = ${buildout:directory}/var
 
46
command = mkdir ${:directory}
 
47
 
 
48
[test]
 
49
recipe = zc.recipe.testrunner
 
50
eggs = slimit [test]
 
51
extra-paths = ${buildout:directory}/parts/test/working-directory
 
52
defaults = ['--tests-pattern', '^f?tests$', '-v']
 
53
 
 
54
 
 
55
[pep8-bin]
 
56
recipe = z3c.recipe.scripts
 
57
eggs =
 
58
   pep8
 
59
entry-points = pep8-bin=pep8:_main
 
60
 
 
61
[pep8]
 
62
recipe = collective.recipe.template
 
63
input = inline:
 
64
    #!/bin/bash
 
65
    find -L src -type f -regex ".*\.py" | xargs bin/pep8-bin
 
66
 
 
67
output = ${buildout:directory}/bin/pep8
 
68
mode = 755
 
69
 
 
70
# :F0401: Unable to import %r (%s). Pylint has been unable to import a module.
 
71
# :C0111: *Missing docstring*
 
72
# :C0103: *Invalid name "%s" (should match %s)*
 
73
# :W0142: *Used * or ** magic*
 
74
# :W0232: *Class has no __init__ method*
 
75
# :E1101: *%s %r has no %r member*
 
76
# :R0911: Too many return statements (%s/%s)
 
77
[pylint-bin]
 
78
recipe = z3c.recipe.scripts
 
79
eggs = pylint
 
80
entry-points = pylint-bin=pylint.lint:Run
 
81
arguments = [
 
82
    '--output-format=parseable',
 
83
    '--reports=y',
 
84
    '--include-ids=y',
 
85
    '--disable=F0401,C0111,C0103,W0142,W0232,E1101,R0911',
 
86
    '--generated-members=objects',
 
87
    '--min-public-methods=0',
 
88
    '--max-public-methods=30',
 
89
    ] + sys.argv[1:]
 
90
 
 
91
[pylint]
 
92
recipe = collective.recipe.template
 
93
input = inline:
 
94
    #!/bin/bash
 
95
    find -L src -type f -regex ".*\.py" | xargs bin/pylint-bin $@
 
96
output = ${buildout:directory}/bin/pylint
 
97
mode = 755
 
 
b'\\ No newline at end of file'