]> khamidou — GitHub mirrors - arcanist.git/commit
arc lint: add support for PyFlakes
authorAndrew Gallagher <agallagher@fb.com>
Thu, 19 May 2011 09:00:59 +0000 (02:00 -0700)
committerAndrew Gallagher <agallagher@fb.com>
Thu, 19 May 2011 23:48:05 +0000 (16:48 -0700)
commitf8c3a5d5555690bb98a88eac5d6096a4349ac535
treeaadccf3029c736929c8992b1124888ef6cb6a494
parentce06ec00cc72de5b03fdff6876e93457e9293658
arc lint: add support for PyFlakes

Summary:
Provide a simple linter wrapper around pyflakes.  This relies on finding
pyflakes via:
- lint.pyflakes.path - arcconfig setting of absolute path to pyflakes
- lint.pyflakes.prefix - arcconfig setting of the prefix that pyflakes
  was installed under
- users path

Test Plan:
linted python code with PyFlakes warnings

Reviewed By: epriestley
Reviewers: jungejason, epriestley
Commenters: jungejason
CC: aran, epriestley, andrewjcg, jungejason
Differential Revision: 310
src/__phutil_library_map__.php
src/lint/linter/pyflakes/ArcanistPyFlakesLinter.php [new file with mode: 0644]
src/lint/linter/pyflakes/__init__.php [new file with mode: 0644]