1
0
Fork 0
mirror of https://we.phorge.it/source/arcanist.git synced 2024-11-21 22:32:41 +01:00

Don't explicitly use an interpreter for pep8

Summary: Depends on D9430. If we are using the system installation of `pep8`, then it probably unnecessary (and possibly wrong) to specify `python2.6` as the default interpreter.

Test Plan: Ran `arc unit`.

Reviewers: #blessed_reviewers, epriestley

Reviewed By: #blessed_reviewers, epriestley

Subscribers: vrusinov, epriestley, Korvin

Differential Revision: https://secure.phabricator.com/D9474
This commit is contained in:
Joshua Spence 2015-05-20 07:04:07 +10:00
parent 5b2571f5ae
commit 25855c4427

View file

@ -31,14 +31,6 @@ final class ArcanistPEP8Linter extends ArcanistExternalLinter {
return $this->getDeprecatedConfiguration('lint.pep8.options', array());
}
public function shouldUseInterpreter() {
return ($this->getDefaultBinary() !== 'pep8');
}
public function getDefaultInterpreter() {
return 'python2.6';
}
public function getDefaultBinary() {
$prefix = $this->getDeprecatedConfiguration('lint.pep8.prefix');
$bin = $this->getDeprecatedConfiguration('lint.pep8.bin', 'pep8');