Skip to content

Commit e5f337c

Browse files
authored
Merge pull request #29 from mareuter/fix_module
Fix module
2 parents 18fe948 + fe02552 commit e5f337c

File tree

5 files changed

+8
-3
lines changed

5 files changed

+8
-3
lines changed

HISTORY.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,11 @@
33
History
44
-------
55

6+
0.7.2 (2024-02-26)
7+
++++++++++++++++++
8+
9+
* Change types module to pkg_types to avoid shadowing builtin
10+
611
0.7.1 (2024-02-11)
712
++++++++++++++++++
813

src/pylunar/helpers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
import ephem
1818

19-
from .types import DateTimeTuple, DmsCoordinate
19+
from .pkg_types import DateTimeTuple, DmsCoordinate
2020

2121

2222
def mjd_to_date_tuple(mjd: float, round_off: bool = False) -> DateTimeTuple:

src/pylunar/lunar_feature.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
import math
1818
import os
1919

20-
from .types import FeatureRow, Range
20+
from .pkg_types import FeatureRow, Range
2121

2222

2323
class LunarFeature:

src/pylunar/moon_info.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424

2525
from .helpers import mjd_to_date_tuple, tuple_to_string
2626
from .lunar_feature import LunarFeature
27-
from .types import DateTimeTuple, DmsCoordinate, MoonPhases
27+
from .pkg_types import DateTimeTuple, DmsCoordinate, MoonPhases
2828

2929

3030
class PhaseName(Enum):

0 commit comments

Comments
 (0)