yetus-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ajay Yadava (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YETUS-430) Refactor releasedocmaker.py in separate modules
Date Tue, 02 Aug 2016 14:52:20 GMT

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

Ajay Yadava commented on YETUS-430:
-----------------------------------

Thanks for your inputs [~aw] and [~busbey]! 

Most python projects that I have seen support only 2.7 and 3.x, and honestly I had no idea
that many systems still ship with python 2.6 as default. I think in that case it is better
to stay compatible with 2.6



> Refactor releasedocmaker.py in separate modules
> -----------------------------------------------
>
>                 Key: YETUS-430
>                 URL: https://issues.apache.org/jira/browse/YETUS-430
>             Project: Yetus
>          Issue Type: Improvement
>          Components: Release Doc Maker
>            Reporter: Ajay Yadava
>            Assignee: Ajay Yadava
>         Attachments: YETUS-430.00.patch, YETUS-430.01.patch
>
>
> releasedocmaker.py has reached 993 lines in length. We have set the upper limit on number
of lines in a file to 1000 in .pylintrc.  New additions to the core functionality will make
it trip that line, so I propose to extract utility functions in a separate module. I hope
it will improve readability of the script as well.



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

Mime
View raw message