hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alex Leblang (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-18041) Add pylintrc file to HBase
Date Fri, 12 May 2017 17:50:04 GMT

    [ https://issues.apache.org/jira/browse/HBASE-18041?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16008467#comment-16008467

Alex Leblang commented on HBASE-18041:

This was prompted by some discussion in https://issues.apache.org/jira/browse/HBASE-18020.

One issue that came up there was 2 versus 4 space indents in python. HBase uses both currently,
though there aren't that many python files. Clusterdock uses 4 spaces, hadoop uses 2 spaces,
and yetis uses two spaces.

[~dimaspivak] expressed a desire to use 4 spaces

> Add pylintrc file to HBase
> --------------------------
>                 Key: HBASE-18041
>                 URL: https://issues.apache.org/jira/browse/HBASE-18041
>             Project: HBase
>          Issue Type: Improvement
>            Reporter: Alex Leblang
> Yetis runs all commits with python files through a linter. I think that the HBase community
should add a pylintrc file to actively choose the project's python style instead of just relying
on yetis defaults.
> As an argument for this, the yetis project itself doesn't even use the default python
linter for its own commits.

This message was sent by Atlassian JIRA

View raw message