You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Valentyn Tymofieiev (Jira)" <ji...@apache.org> on 2021/10/01 19:41:00 UTC

[jira] [Commented] (BEAM-11516) Upgrade to pylint >=2.6.0

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

Valentyn Tymofieiev commented on BEAM-11516:
--------------------------------------------

Some super() warnings may be WAI until https://issues.apache.org/jira/browse/BEAM-6158 is addressed.

> Upgrade to pylint >=2.6.0
> -------------------------
>
>                 Key: BEAM-11516
>                 URL: https://issues.apache.org/jira/browse/BEAM-11516
>             Project: Beam
>          Issue Type: Task
>          Components: sdk-py-core, testing
>            Reporter: Brian Hulette
>            Assignee: Benjamin Gonzalez
>            Priority: P3
>          Time Spent: 5h 50m
>  Remaining Estimate: 0h
>
> I accidentally ran the latest pylint (2.6.0 as opposed to 2.4.3 which we currently use), and found that it raised a lot of warnings, many of which looked useful. For example:
> {code}
> apache_beam/pvalue.py:500:11: R1725: Consider using Python 3 style super() without arguments (super-with-arguments)
> apache_beam/utils/timestamp.py:132:6: W0707: Consider explicitly re-raising using the 'from' keyword (raise-missing-from)
> {code}
> We should address these warnings and run 2.6.0 (or whatever is the latest at time of implementation) continuously



--
This message was sent by Atlassian Jira
(v8.3.4#803005)