Skip to content

Commit

Permalink
Fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
epenet authored Aug 5, 2024
1 parent 6dbc8ae commit c49d3aa
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,10 @@ pub(crate) fn raise_vanilla_class(checker: &mut Checker, expr: &Expr) {
.semantic()
.resolve_qualified_name(node)
.is_some_and(|qualified_name| {
matches!(qualified_name.segments(), ["" | "builtins", "Exception" | "BaseException"])
matches!(
qualified_name.segments(),
["" | "builtins", "Exception" | "BaseException"]
)
})
{
checker
Expand Down

0 comments on commit c49d3aa

Please sign in to comment.