code: def lint(fmt='colorized'):
      
      if fmt == 'html':
          outfile = 'pylint_report.html'
          local('pylint -f %s davies > %s || true' % (fmt, outfile))
          local('open %s' % outfile)
      else:
          local('pylint -f %s davies || true' % fmt)
docs: Run verbose PyLint on source. Optionally specify fmt=html for HTML output.