From: epriestley Date: Tue, 20 May 2014 19:44:55 +0000 (-0700) Subject: Don't support severity customization in pyflakes X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=a19503bb59db3a8022064dd119b2e3fbc3485dd8;p=arcanist.git Don't support severity customization in pyflakes 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 --- diff --git a/src/lint/linter/ArcanistPyFlakesLinter.php b/src/lint/linter/ArcanistPyFlakesLinter.php index 19740a1e..fe047c50 100644 --- a/src/lint/linter/ArcanistPyFlakesLinter.php +++ b/src/lint/linter/ArcanistPyFlakesLinter.php @@ -99,4 +99,8 @@ final class ArcanistPyFlakesLinter extends ArcanistExternalLinter { return $messages; } + protected function canCustomizeLintSeverities() { + return false; + } + }