Skip to content

Commit

Permalink
fix ci
Browse files Browse the repository at this point in the history
  • Loading branch information
dakk committed Aug 19, 2024
1 parent 6f2ae58 commit 52bc7aa
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 14 deletions.
4 changes: 2 additions & 2 deletions gweatherrouting/core/geo/collection.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@

import gpxpy

from gweatherrouting.core.utils import uniqueName
from gweatherrouting.core.storage import Storage
from gweatherrouting.core.geo.element import Element
from gweatherrouting.core.storage import Storage
from gweatherrouting.core.utils import uniqueName

T = TypeVar("T", bound=Element)

Expand Down
2 changes: 1 addition & 1 deletion gweatherrouting/core/geo/poicollection.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
"""
from typing import Generic, Tuple, TypeVar

from gweatherrouting.core.geo.poi import POI
from gweatherrouting.core.geo.collection import Collection
from gweatherrouting.core.geo.poi import POI

T = TypeVar("T", bound=POI)

Expand Down
2 changes: 1 addition & 1 deletion gweatherrouting/core/geo/routingcollection.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
"""
from typing import Generic, TypeVar

from gweatherrouting.core.geo.routing import Routing
from gweatherrouting.core.geo.collection import CollectionWithActiveElement
from gweatherrouting.core.geo.routing import Routing

T = TypeVar("T", bound=Routing)

Expand Down
2 changes: 1 addition & 1 deletion gweatherrouting/core/geo/trackcollection.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
"""
from typing import Generic, TypeVar

from gweatherrouting.core.geo.track import Track
from gweatherrouting.core.geo.collection import CollectionWithActiveElement
from gweatherrouting.core.geo.track import Track

T = TypeVar("T", bound=Track)

Expand Down
8 changes: 3 additions & 5 deletions gweatherrouting/core/gribmanager.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,10 @@
import weatherrouting

from gweatherrouting.core.grib import Grib
from gweatherrouting.core.storage import GRIB_DIR, TEMP_DIR, Storage

try:
from gweatherrouting.core.storage import GRIB_DIR, TEMP_DIR, Storage

except:
from gweatherrouting.core.utils.dummy_storage import Storage
# except:
# from gweatherrouting.core.utils.dummy_storage import Storage

# from bs4 import BeautifulSoup

Expand Down
8 changes: 4 additions & 4 deletions gweatherrouting/core/utils/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@

# try:
from gweatherrouting.core.storage import * # noqa: F401, F403

# except:
# from .dummy_storage import * # noqa: F401, F403

Expand Down Expand Up @@ -200,10 +201,9 @@ def dispatch(self, evt, e):
x(e)



class dotdict(dict):
"""dot.notation access to dictionary attributes"""

__getattr__ = dict.get # type: ignore
__setattr__ = dict.__setitem__ # type: ignore
__delattr__ = dict.__delitem__ # type: ignore
__getattr__ = dict.get # type: ignore
__setattr__ = dict.__setitem__ # type: ignore
__delattr__ = dict.__delitem__ # type: ignore

0 comments on commit 52bc7aa

Please sign in to comment.