From 370e3ae597d28ed6f67073d1fd7e0c1308991885 Mon Sep 17 00:00:00 2001 From: "deepsource-autofix[bot]" <62050782+deepsource-autofix[bot]@users.noreply.github.com> Date: Tue, 14 Mar 2023 20:17:58 +0000 Subject: [PATCH] Format code with black and isort This commit fixes the style issues introduced in 4788117 according to the output from black and isort. Details: https://deepsource.io/gh/CIDARLAB/pyparchmint/transform/00cdaedf-629d-4af4-81de-5e99d717ec77/ --- parchmint/component.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/parchmint/component.py b/parchmint/component.py index e018208..0fb24cb 100644 --- a/parchmint/component.py +++ b/parchmint/component.py @@ -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):