Skip to content

Commit

Permalink
Fix incorrect type annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
Bozydarek committed Jul 14, 2024
1 parent f3a9223 commit b3bc513
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions data_processor.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
RE_RETRIEVE_RATIO = 0.8 # 80% of cumulated energy sent to the grid
CONFIG_FILE_PATH = "config.yml"


# From python3.11 'StrEnum' can be used
class DataTypes(str, Enum):
"""Energy types"""
Expand Down
2 changes: 1 addition & 1 deletion table_view.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def __str__(self) -> str:


class TableView():
headers: list[str] = []
headers: list[tuple[str, str]] = []
rows: list[list[Any]] = []

def __init__(self, col_width: int = 8) -> None:
Expand Down

0 comments on commit b3bc513

Please # to comment.