]> khamidou — GitHub mirrors - arcanist.git/commitdiff
Don't run "flake8" via stdin
authorepriestley <git@epriestley.com>
Tue, 26 Aug 2014 21:36:17 +0000 (14:36 -0700)
committerepriestley <git@epriestley.com>
Tue, 26 Aug 2014 21:36:17 +0000 (14:36 -0700)
Summary: flake8 v2.2.3 (released Aug 25) broke this. Just drop the stdin stuff.

Test Plan: User confirmed in IRC that this resolves the issue.

Reviewers: btrahan

Reviewed By: btrahan

Subscribers: epriestley

Differential Revision: https://secure.phabricator.com/D10358

src/lint/linter/ArcanistFlake8Linter.php

index 9ab99d7e8fe96a6e0dd1f40e34242a14ff46fc6c..ed5bbdc3fb4d1c5d4f2c3042bb1b6e2b0fbf884e 100644 (file)
@@ -58,14 +58,6 @@ final class ArcanistFlake8Linter extends ArcanistExternalLinter {
     return pht('Install flake8 using `easy_install flake8`.');
   }
 
-  public function supportsReadDataFromStdin() {
-    return true;
-  }
-
-  public function getReadDataFromStdinFilename() {
-    return '-';
-  }
-
   public function shouldExpectCommandErrors() {
     return true;
   }