Skip to content

Commit

Permalink
Codecov update
Browse files Browse the repository at this point in the history
  • Loading branch information
Masara committed Oct 14, 2023
1 parent 7184457 commit 5d1332c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/safeds_stubgen/api_analyzer/_ast_visitor.py
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@ def leave_assignmentstmt(self, _: AssignmentStmt) -> None:
self.api.add_enum_instance(assignment)
parent.add_enum_instance(assignment)

else:
else: # pragma: no cover
raise TypeError("Unexpected value type for assignments")

# ############################## Utilities ############################## #
Expand Down Expand Up @@ -474,7 +474,7 @@ def create_attribute(
else: # pragma: no cover
raise AttributeError("Could not get argument information for attribute.")

else:
else: # pragma: no cover
raise TypeError("Attribute has an unexpected type.")

type_ = None
Expand Down Expand Up @@ -528,9 +528,9 @@ def parse_parameter_data(self, node: FuncDef, function_id: str) -> list[Paramete
value = True
elif initializer.name == "False":
value = False
else:
else: # pragma: no cover
raise ValueError("No value found for parameter")
else:
else: # pragma: no cover
raise ValueError("No value found for parameter")
else:
value = initializer.value
Expand Down

0 comments on commit 5d1332c

Please sign in to comment.