apache / apache/beam

Fix pylint warning: Consider explicitly re-raising using the 'from' keyword (raise-missing-from)

Open
#21,169 0 comments 0 reactions 0 assignees View on GitHub
core P3 python task tests
Dominant language
Java
Stars
8.7k
Forks
4.7k
Avg merge
1d 20h
Merged PRs (30d)
196

Description

The warning "raise-missing-from" from pylint (2.11.1) 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.

Imported from Jira [BEAM-12991](https://issues.apache.org/jira/browse/BEAM-12991). Original Jira may contain additional context.
Reported by: benglez.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.