You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Beam JIRA Bot (Jira)" <ji...@apache.org> on 2020/08/10 17:07:16 UTC
[jira] [Commented] (BEAM-9058) Line-too-long Python lint checks are
no longer working.
[ https://issues.apache.org/jira/browse/BEAM-9058?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17174564#comment-17174564 ]
Beam JIRA Bot commented on BEAM-9058:
-------------------------------------
This issue is P2 but has been unassigned without any comment for 60 days so it has been labeled "stale-P2". If this issue is still affecting you, we care! Please comment and remove the label. Otherwise, in 14 days the issue will be moved to P3.
Please see https://beam.apache.org/contribute/jira-priorities/ for a detailed explanation of what these priorities mean.
> Line-too-long Python lint checks are no longer working.
> -------------------------------------------------------
>
> Key: BEAM-9058
> URL: https://issues.apache.org/jira/browse/BEAM-9058
> Project: Beam
> Issue Type: Bug
> Components: sdk-py-core
> Reporter: Valentyn Tymofieiev
> Priority: P2
> Labels: stale-P2
> Time Spent: 1h 10m
> Remaining Estimate: 0h
>
> Without getting into a question whether 80 is a reasonable limit, what are the reasons to treat type annotations differently than other parts of Python code (including comments), which have a 80 character limit?
>
> Places that need to be fixed (PR coming):
> ```
> {noformat}
> > Task :sdks:python:test-suites:tox:py37:lintPy37
>
> ************* Module apache_beam.testing.test_stream_it_test
> apache_beam/testing/test_stream_it_test.py:50:0: C0301: Line too long (106/80) (line-too-long)
> ************* Module apache_beam.io.filesystems
> apache_beam/io/filesystems.py:99:0: C0301: Line too long (101/80) (line-too-long)
> apache_beam/io/filesystems.py:100:0: C0301: Line too long (111/80) (line-too-long)
> ************* Module apache_beam.runners.portability.fn_api_runner
> apache_beam/runners/portability/fn_api_runner.py:115:0: C0301: Line too long (114/80) (line-too-long)
> ************* Module apache_beam.transforms.core
> apache_beam/transforms/core.py:1307:0: C0301: Line too long (116/80) (line-too-long)
> apache_beam/transforms/core.py:2271:0: C0301: Line too long (95/80) (line-too-long)
> apache_beam/transforms/core.py:2272:0: C0301: Line too long (90/80) (line-too-long)
> ************* Module setup
> setup.py:141:0: C0301: Line too long (81/80) (line-too-long)
> ------------------------------------
> {noformat}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)