]> khamidou — GitHub mirrors - arcanist.git/commitdiff
Don't explicitly use an interpreter for `pep8`
authorJoshua Spence <josh@joshuaspence.com>
Tue, 19 May 2015 21:04:07 +0000 (07:04 +1000)
committerJoshua Spence <josh@joshuaspence.com>
Tue, 19 May 2015 21:04:07 +0000 (07:04 +1000)
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

src/lint/linter/ArcanistPEP8Linter.php

index 99a11101f8a24d54336b4840c76f9c91db346fe5..cdf107e23ac50c2b36c7e9f99a51b0305d36c276 100644 (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');