Skip to content

Commit

Permalink
Lint and support older Python versions
Browse files Browse the repository at this point in the history
  • Loading branch information
rafmudaf committed Nov 7, 2024
1 parent b3e2d93 commit 4e30c72
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion floris/core/turbine/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@

from floris.core.turbine.mit_turbine import MITTurbine
from floris.core.turbine.operation_models import (
AWCTurbine,
CosineLossTurbine,
Expand All @@ -7,4 +8,3 @@
SimpleDeratingTurbine,
SimpleTurbine,
)
from floris.core.turbine.mit_turbine import MITTurbine
2 changes: 2 additions & 0 deletions floris/core/turbine/mit_turbine.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@

from __future__ import annotations

from dataclasses import dataclass
from typing import (
Any,
Expand Down
2 changes: 1 addition & 1 deletion floris/core/turbine/turbine.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@
from floris.core.turbine import (
AWCTurbine,
CosineLossTurbine,
MITTurbine,
MixedOperationTurbine,
PeakShavingTurbine,
SimpleDeratingTurbine,
SimpleTurbine,
MITTurbine,
)
from floris.type_dec import (
convert_to_path,
Expand Down

0 comments on commit 4e30c72

Please sign in to comment.