You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Benjamin Gonzalez (Jira)" <ji...@apache.org> on 2021/09/30 22:28:00 UTC
[jira] [Updated] (BEAM-12991) Fix pylint warning: Consider
explicitly re-raising using the 'from' keyword (raise-missing-from)
[ https://issues.apache.org/jira/browse/BEAM-12991?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Benjamin Gonzalez updated BEAM-12991:
-------------------------------------
Description:
The warning "raise-missing-from" from pylint is temporarily disabled because in many places already exists logic to inform the user about the underlying error, so it's redundant to use the "{{from"}} syntax as well.
The "form" syntax is preferable, but we need to look over the exceptions to dedupe this.
was:
The warning "raise-missing-from" from pylint is temporarily disabled because in many places already exists logic to inform the user about the underlying error, so it's redundant to use the "{{from"}} syntax as well.
The "form" {{}}{{}}syntax is preferable, but we need to look over the exceptions to dedupe this.
> Fix pylint warning: Consider explicitly re-raising using the 'from' keyword (raise-missing-from)
> ------------------------------------------------------------------------------------------------
>
> Key: BEAM-12991
> URL: https://issues.apache.org/jira/browse/BEAM-12991
> Project: Beam
> Issue Type: Task
> Components: sdk-py-core, testing
> Reporter: Benjamin Gonzalez
> Priority: P3
>
> The warning "raise-missing-from" from pylint is temporarily disabled because in many places already exists logic to inform the user about the underlying error, so it's redundant to use the "{{from"}} syntax as well.
> The "form" syntax is preferable, but we need to look over the exceptions to dedupe this.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)