From: Joshua Spence Date: Tue, 19 May 2015 21:04:07 +0000 (+1000) Subject: Don't explicitly use an interpreter for `pep8` X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=25855c4427cc49db63c0f74b29ede2fe0993179d;p=arcanist.git 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 --- diff --git a/src/lint/linter/ArcanistPEP8Linter.php b/src/lint/linter/ArcanistPEP8Linter.php index 99a11101..cdf107e2 100644 --- a/src/lint/linter/ArcanistPEP8Linter.php +++ b/src/lint/linter/ArcanistPEP8Linter.php @@ -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');