Skip to content

Commit 83b57d9

Browse files
committed
Fix lint formatting
1 parent 3256559 commit 83b57d9

File tree

2 files changed

+49
-10
lines changed

2 files changed

+49
-10
lines changed

src/adam_assist/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
from .propagator import ASSISTPropagator
21
from .perturbers import get_perturber_designations, is_perturber
2+
from .propagator import ASSISTPropagator
33

44
__all__ = ["ASSISTPropagator", "get_perturber_designations", "is_perturber"]

src/adam_assist/perturbers.py

Lines changed: 48 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,54 @@
1717

1818
# DE440: Sun, Moon, Mercury–Neptune, Pluto. de441_n16: 16 massive asteroids.
1919
# Normalized lowercase for case-insensitive matching; orbit_id may be "134340", "Pluto", "1", "Ceres".
20-
PERTURBER_DESIGNATIONS: frozenset[str] = frozenset({
21-
"sun", "mercury", "venus", "earth", "mars", "jupiter", "saturn", "uranus", "neptune",
22-
"moon",
23-
"pluto", "134340",
24-
"1", "ceres", "2", "pallas", "3", "juno", "4", "vesta", "5", "astraea",
25-
"6", "hebe", "7", "iris", "8", "flora", "9", "metis", "10", "hygiea",
26-
"11", "parthenope", "12", "victoria", "13", "egeria", "14", "irene",
27-
"15", "eunomia", "16", "psyche",
28-
})
20+
PERTURBER_DESIGNATIONS: frozenset[str] = frozenset(
21+
{
22+
"sun",
23+
"mercury",
24+
"venus",
25+
"earth",
26+
"mars",
27+
"jupiter",
28+
"saturn",
29+
"uranus",
30+
"neptune",
31+
"moon",
32+
"pluto",
33+
"134340",
34+
"1",
35+
"ceres",
36+
"2",
37+
"pallas",
38+
"3",
39+
"juno",
40+
"4",
41+
"vesta",
42+
"5",
43+
"astraea",
44+
"6",
45+
"hebe",
46+
"7",
47+
"iris",
48+
"8",
49+
"flora",
50+
"9",
51+
"metis",
52+
"10",
53+
"hygiea",
54+
"11",
55+
"parthenope",
56+
"12",
57+
"victoria",
58+
"13",
59+
"egeria",
60+
"14",
61+
"irene",
62+
"15",
63+
"eunomia",
64+
"16",
65+
"psyche",
66+
}
67+
)
2968

3069

3170
def get_perturber_designations() -> frozenset[str]:

0 commit comments

Comments
 (0)