Skip to content

Feature request: Add a check for raise foo from bar #3687

Closed
@cool-RR

Description

@cool-RR

I recently went over Matplotlib, Pandas and NumPy, fixing a small mistake in the way that Python 3's exception chaining is used. I've done it here too (#3681 )

I suggested to @Pierre-Sassoulas that this should be a PyLint rule.

@jdufresne wrote a flake8 plugin that does this, plus catches two other raise-related issues that I like and could be added as well.

What do you think?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions