Skip to content

Instantly share code, notes, and snippets.

@grantmcconnaughey
Created January 5, 2017 01:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save grantmcconnaughey/f66fb46346cf02438c25c77ca6172849 to your computer and use it in GitHub Desktop.
Save grantmcconnaughey/f66fb46346cf02438c25c77ca6172849 to your computer and use it in GitHub Desktop.
def __init__(self):
self.linter = self.get_linter()
def lint_entire_project(self):
"""Lints the local repo and returns the violations found."""
self.state = BUILD_RUNNING
self.save()
violations = self.linter.lint()
return violations
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment