]> khamidou — GitHub mirrors - arcanist.git/commitdiff
ArcanistPyLintLinter fix to getMandatoryFlags msg-template
authorealbright <ealbright@terrapower.com>
Wed, 19 Aug 2015 12:45:46 +0000 (05:45 -0700)
committerepriestley <git@epriestley.com>
Wed, 19 Aug 2015 12:46:04 +0000 (05:46 -0700)
Summary: Removed excess quotations on the `--msg-template` option as it was interfering with the string-int coercion

Test Plan: Unsure

Reviewers: joshuaspence, epriestley, #blessed_reviewers

Reviewed By: joshuaspence, epriestley, #blessed_reviewers

Subscribers: joshuaspence, e-m-albright, Korvin

Maniphest Tasks: T9214

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

src/lint/linter/ArcanistPyLintLinter.php

index 111cc27e5454a5047a44aaf910083ea3c3dc2f7d..4884ab9f9bc74dda417714252b32d77607cc235b 100644 (file)
@@ -82,7 +82,7 @@ final class ArcanistPyLintLinter extends ArcanistExternalLinter {
     $options = array();
 
     $options[] = '--reports=no';
-    $options[] = '--msg-template="{line}|{column}|{msg_id}|{symbol}|{msg}"';
+    $options[] = '--msg-template={line}|{column}|{msg_id}|{symbol}|{msg}';
 
     // Specify an `--rcfile`, either absolute or relative to the project root.
     // Stupidly, the command line args above are overridden by rcfile, so be