Skip to content

Commit

Permalink
Updated black formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
rkrishnasanka committed Mar 14, 2023
1 parent 4788117 commit 480e269
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion parchmint/component.py
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,9 @@ def rotation(self) -> float:
return self.params.get_param("rotation")
except Exception as error:
print("Could not find rotation for component", error)
raise KeyError(f"Could not find rotation for component: {self.ID}") from error
raise KeyError(
f"Could not find rotation for component: {self.ID}"
) from error

@rotation.setter
def rotation(self, value):
Expand Down

0 comments on commit 480e269

Please sign in to comment.