From 05aaa1a5a3b8fa42c46bde079bc861f956e8c875 Mon Sep 17 00:00:00 2001 From: ealbright Date: Wed, 19 Aug 2015 05:45:46 -0700 Subject: [PATCH] ArcanistPyLintLinter fix to getMandatoryFlags msg-template 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lint/linter/ArcanistPyLintLinter.php b/src/lint/linter/ArcanistPyLintLinter.php index 111cc27e..4884ab9f 100644 --- a/src/lint/linter/ArcanistPyLintLinter.php +++ b/src/lint/linter/ArcanistPyLintLinter.php @@ -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