You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Brian Hulette (Jira)" <ji...@apache.org> on 2021/10/04 15:28:00 UTC
[jira] [Updated] (BEAM-11516) Upgrade to pylint >=2.6.0
[ https://issues.apache.org/jira/browse/BEAM-11516?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Brian Hulette updated BEAM-11516:
---------------------------------
Fix Version/s: 2.34.0
Resolution: Fixed
Status: Resolved (was: Open)
> 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
> Fix For: 2.34.0
>
> Time Spent: 6h 10m
> 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)