]> khamidou — GitHub mirrors - arcanist.git/commit
Improve PEP8 Linter
authorDavid Cramer <dcramer@gmail.com>
Tue, 17 Jan 2012 20:38:54 +0000 (12:38 -0800)
committerDavid Cramer <dcramer@gmail.com>
Tue, 17 Jan 2012 23:39:52 +0000 (15:39 -0800)
commit06334a69b4dd1dfab966710ccd988dce410fc190
treee7368c7638264f6dffcc9382b9f69cb2ff1e0cbf
parent9be9554f2d184ecfab9a898336057bd503e24bbb
Improve PEP8 Linter

Summary:
This cleans up the PEP8 linter to bring it inline
with the new JSHint Linter's level of quality.

It adds a getPEP8Path method which gives the ability
for users to override the pep8 binary with two new
options in .arcconfig:

* lint.pep8.prefix
* lint.pep8.bin
* lint.pep8.options

Test Plan:
Adjust your engine to use the 'ArcanistPEP8Linter' and run
arc lint against Python files.

Reviewers: epriestley

Reviewed By: epriestley

CC: aran
Differential Revision: https://secure.phabricator.com/D1440
src/__phutil_library_map__.php
src/lint/linter/pep8/ArcanistPEP8Linter.php
src/lint/linter/pep8/__init__.php