]> khamidou — GitHub mirrors - arcanist.git/commitdiff
Don't support severity customization in pyflakes
authorepriestley <git@epriestley.com>
Tue, 20 May 2014 19:44:55 +0000 (12:44 -0700)
committerepriestley <git@epriestley.com>
Tue, 20 May 2014 19:44:55 +0000 (12:44 -0700)
Summary: Pyflakes doesn't have any message codes, so we can't do anything with severities.

Test Plan: Ran `arc lint` with severities on one of these linters, got an error.

Reviewers: joshuaspence, btrahan

Reviewed By: btrahan

Subscribers: epriestley

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

src/lint/linter/ArcanistPyFlakesLinter.php

index 19740a1e06318098a524d878251a70c165646078..fe047c50861bd6c557bff6bb063537dcaf5d7864 100644 (file)
@@ -99,4 +99,8 @@ final class ArcanistPyFlakesLinter extends ArcanistExternalLinter {
     return $messages;
   }
 
+  protected function canCustomizeLintSeverities() {
+    return false;
+  }
+
 }