hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Allen Wittenauer (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-12207) Add support for pylint
Date Mon, 13 Jul 2015 18:06:05 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-12207?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14625058#comment-14625058
] 

Allen Wittenauer commented on HADOOP-12207:
-------------------------------------------

I'm blowing awk errors:

{code}
awk: illegal primary in regular expression ^| at 
 source line number 1
 context is
	/^Messages$/,/^Global evaluation$/ { if ($0 ~ >>>  "^|") <<< 
awk: illegal primary in regular expression ^| at 
 source line number 1
 context is
	/^Messages$/,/^Global evaluation$/ { if ($0 ~ >>>  "^|") <<< 
{code}

I'm sort of surprised this isn't using pylint --parseable and then applying gitdiff to the
output.

> Add support for pylint
> ----------------------
>
>                 Key: HADOOP-12207
>                 URL: https://issues.apache.org/jira/browse/HADOOP-12207
>             Project: Hadoop Common
>          Issue Type: Sub-task
>          Components: yetus
>            Reporter: Allen Wittenauer
>            Assignee: Kengo Seki
>         Attachments: HADOOP-12207.HADOOP-12111.00.patch
>
>
> In order to make it more obvious why I shouldn't be writing python code, we should add
a plugin for pylint similar to what we have for shellcheck.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message