Skip to content

Duplicate rule B904 and TRY200 are duplicate #8830

@Skylion007

Description

@Skylion007

Rules B904 and TRY200 appear to be looking for the exact same construct (not using from within an exception block), but are separate rules. These should be deduplicated to a common implementation with an alias. We should also probably try to find duplicate rules with an automated mechanism in the future.

Metadata

Metadata

Assignees

Labels

ruleImplementing or modifying a lint rule

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions