Created
November 14, 2011 04:01
-
-
Save claytron/1363199 to your computer and use it in GitHub Desktop.
Debug configuration for Plone 4
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[debugging] | |
parts = | |
zopepy | |
pylint | |
pyflakes | |
pep8 | |
# plone.reload: | |
# you can reload the zcml in your site by running the following | |
# http://<zope host>:<zope port>/@@reload | |
# zope.testrecorder: | |
# record tests by running the following | |
# http://<zope host>:<zope port>/++resource++recorder/index.html | |
eggs = | |
plone.reload | |
zope.testrecorder | |
# Products.ZopeProfiler | |
Products.PDBDebugMode | |
Products.Clouseau | |
Products.PrintingMailHost | |
Products.DocFinderTab | |
Products.PTProfiler | |
Products.DCWorkflowGraph | |
Products.PolicyTestCase | |
sixfeetup.customfolderalert | |
plone.app.debugtoolbar | |
zcml = | |
plone.reload | |
zope.testrecorder | |
sixfeetup.customfolderalert | |
[zopepy] | |
recipe = zc.recipe.egg | |
eggs = ${instance:eggs} | |
interpreter = zopepy | |
scripts = zopepy | |
# Here are some more coding tools. pylint analyzes Python source code | |
# looking for bugs and signs of poor quality. pyflakes is focused on | |
# identifying common errors quickly without executing Python code. | |
# pep8 is a tool to check your Python code against some of the style | |
# conventions in PEP 8. | |
[pylint] | |
recipe = zc.recipe.egg | |
eggs = | |
pylint | |
${instance:eggs} | |
entry-points = pylint=pylint.lint:Run | |
scripts = pylint | |
arguments = [ | |
'--output-format=colorized', | |
'--zope=y', | |
'--reports=no', | |
#Suppress certain errors (interfaces missing __init__, invalid imports etc) | |
'--disable=E0611,F0401,W0232', | |
] + sys.argv[1:] | |
[pyflakes] | |
recipe = zc.recipe.egg | |
scripts = pyflakes | |
eggs = | |
pyflakes | |
#pyflakes reads sys.argv directly | |
entry-points = pyflakes=pyflakes.scripts.pyflakes:main | |
[pep8] | |
recipe = zc.recipe.egg | |
eggs = | |
pep8 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment