Skip to content

Commit

Permalink
fix: fix review
Browse files Browse the repository at this point in the history
  • Loading branch information
NP4567-dev authored and samuelrince committed Nov 13, 2024
1 parent c29daab commit 418cbf2
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions ecologits/_ecologits.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@

from packaging.version import Version

from ecologits.utils.exceptions import EcoLogitsError
from ecologits.utils.log import logger
from ecologits.exceptions import EcoLogitsError
from ecologits.log import logger


def init_openai_instrumentor() -> None:
Expand Down
2 changes: 1 addition & 1 deletion ecologits/impacts/modeling.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

from pydantic import BaseModel

from ecologits.utils.exceptions import ModelingError
from ecologits.exceptions import ModelingError
from ecologits.utils.range_value import ValueOrRange


Expand Down
2 changes: 1 addition & 1 deletion ecologits/tracers/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
from ecologits.electricity_mix_repository import electricity_mixes
from ecologits.impacts.llm import compute_llm_impacts
from ecologits.impacts.modeling import Impacts
from ecologits.log import logger
from ecologits.model_repository import ArchitectureTypes, models
from ecologits.utils.log import logger


def _avg(value_range: tuple) -> float:
Expand Down
2 changes: 1 addition & 1 deletion tests/test_modeling_impacts.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import pytest

from ecologits.impacts.modeling import Impact, Energy, GWP, ADPe, PE
from ecologits.utils.exceptions import ModelingError
from ecologits.exceptions import ModelingError
from ecologits.utils.range_value import RangeValue


Expand Down

0 comments on commit 418cbf2

Please sign in to comment.