From 5a75d2a0b35eb184a465dbfe913aaa2436997296 Mon Sep 17 00:00:00 2001 From: Helge Eichhorn Date: Thu, 19 Dec 2024 10:59:40 +0100 Subject: [PATCH 1/2] chore: remove JetBrains cruft --- .gitignore | 1 + .idea/.gitignore | 10 ------- .idea/copyright/Lox.xml | 6 ---- .idea/copyright/profiles_settings.xml | 3 -- .idea/lox-space.iml | 40 --------------------------- .idea/misc.xml | 10 ------- .idea/modules.xml | 8 ------ .idea/vcs.xml | 6 ---- 8 files changed, 1 insertion(+), 83 deletions(-) delete mode 100644 .idea/.gitignore delete mode 100644 .idea/copyright/Lox.xml delete mode 100644 .idea/copyright/profiles_settings.xml delete mode 100644 .idea/lox-space.iml delete mode 100644 .idea/misc.xml delete mode 100644 .idea/modules.xml delete mode 100644 .idea/vcs.xml diff --git a/.gitignore b/.gitignore index 548077b3..88c51c66 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,4 @@ flamegraph.svg .mise.local.toml .codspeed/ +.idea/ diff --git a/.idea/.gitignore b/.idea/.gitignore deleted file mode 100644 index a9d7db9c..00000000 --- a/.idea/.gitignore +++ /dev/null @@ -1,10 +0,0 @@ -# Default ignored files -/shelf/ -/workspace.xml -# Editor-based HTTP Client requests -/httpRequests/ -# Datasource local storage ignored files -/dataSources/ -/dataSources.local.xml -# GitHub Copilot persisted chat sessions -/copilot/chatSessions diff --git a/.idea/copyright/Lox.xml b/.idea/copyright/Lox.xml deleted file mode 100644 index 89a1d10a..00000000 --- a/.idea/copyright/Lox.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - - \ No newline at end of file diff --git a/.idea/copyright/profiles_settings.xml b/.idea/copyright/profiles_settings.xml deleted file mode 100644 index c174b948..00000000 --- a/.idea/copyright/profiles_settings.xml +++ /dev/null @@ -1,3 +0,0 @@ - - - \ No newline at end of file diff --git a/.idea/lox-space.iml b/.idea/lox-space.iml deleted file mode 100644 index 670b934c..00000000 --- a/.idea/lox-space.iml +++ /dev/null @@ -1,40 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/misc.xml b/.idea/misc.xml deleted file mode 100644 index 4fb6e2d9..00000000 --- a/.idea/misc.xml +++ /dev/null @@ -1,10 +0,0 @@ - - - - - \ No newline at end of file diff --git a/.idea/modules.xml b/.idea/modules.xml deleted file mode 100644 index 8888da49..00000000 --- a/.idea/modules.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - - \ No newline at end of file diff --git a/.idea/vcs.xml b/.idea/vcs.xml deleted file mode 100644 index 35eb1ddf..00000000 --- a/.idea/vcs.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file From 47e27e403aef9dfea14a77e80d17eec760e8412b Mon Sep 17 00:00:00 2001 From: Helge Eichhorn Date: Thu, 19 Dec 2024 11:00:35 +0100 Subject: [PATCH 2/2] fix: fix Python types --- crates/lox-space/lox_space.pyi | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/crates/lox-space/lox_space.pyi b/crates/lox-space/lox_space.pyi index 2d27dd53..000ff9b9 100644 --- a/crates/lox-space/lox_space.pyi +++ b/crates/lox-space/lox_space.pyi @@ -28,6 +28,19 @@ class Origin: def __new__(cls, origin: str | int): ... def id(self) -> int: ... def name(self) -> str: ... + def gravitational_parameter(self) -> float: ... + def mean_radius(self) -> float: ... + def radii(self) -> tuple[float, float, float]: ... + def equatorial_radius(self) -> float: ... + def polar_radius(self) -> float: ... + def rotational_elements(self, et: float) -> tuple[float, float, float]: ... + def rotational_element_rates(self, et: float) -> tuple[float, float, float]: ... + def right_ascension(self, et: float) -> float: ... + def right_ascension_rate(self, et: float) -> float: ... + def declination(self, et: float) -> float: ... + def declination_rate(self, et: float) -> float: ... + def rotation_angle(self, et: float) -> float: ... + def rotation_rate(self, et: float) -> float: ... class Frame: def __new__(cls, abbreviation: str): ...