Skip to content

Instantly share code, notes, and snippets.

@pagenoare
Created June 20, 2012 16:36
Show Gist options
  • Save pagenoare/2960827 to your computer and use it in GitHub Desktop.
Save pagenoare/2960827 to your computer and use it in GitHub Desktop.
bin/pylint script [configured for django]
[pylint]
recipe = zc.recipe.egg:scripts
eggs = pylint
${buildout:eggs}
${django:eggs}
scripts = pylint
entry-points = pylint=pylint.lint:Run
arguments = sys.argv[1:]+[
'--output-format=colorized',
'--ignore=migrations',
'--include-ids=y',
'--generated-members=objects,DoesNotExist',
'${django:project}']
extra-paths = ${django:extra-paths}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment