Skip to content

New 4xx rule: after except* FooError as e:, warn on e.attribute for attributes that don't exist on ExceptionGroupΒ #301

@Zac-HD

Description

@Zac-HD

This is redundant with a strict typechecker or 100% code coverage, but it's an easy mistake to make when you're migrating error-handling code to use except* and a linter would help for code that doesn't have those other checks.

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