2 Commits

Author SHA1 Message Date
00a772cb6a Update dependency pylint to ==3.3.7,<3.4.0
All checks were successful
Tests / test (3.10) (pull_request) Successful in 28s
Tests / test (3.11) (pull_request) Successful in 27s
Tests / test (3.12) (pull_request) Successful in 35s
Tests / test (3.9) (pull_request) Successful in 30s
Tests / test (3.10) (push) Successful in 27s
Tests / test (3.11) (push) Successful in 26s
Tests / test (3.12) (push) Successful in 31s
Tests / test (3.9) (push) Successful in 25s
2025-05-05 00:27:59 +03:00
6ade6f7554 Fixed altStart and altEnd not being provided causing KeyError
All checks were successful
Tests / test (3.10) (push) Successful in 29s
Tests / test (3.11) (push) Successful in 28s
Tests / test (3.12) (push) Successful in 37s
Tests / test (3.9) (push) Successful in 27s
2025-05-04 23:26:12 +02:00
2 changed files with 5 additions and 3 deletions

View File

@@ -1,7 +1,7 @@
black~=25.1.0
isort==5.13.2
mypy~=1.15.0
pylint==3.3.6,<3.4.0
pylint==3.3.7,<3.4.0
pytest-cov~=6.1.0
pytest~=8.3.2
tox==4.25.0

View File

@@ -81,8 +81,10 @@ class Message:
f"{data['validToDate']} {data['validToTime']}", "%Y-%m-%d %H:%M:%S"
)
)
self.date_start_alt: str = data["altStart"]
self.date_end_alt: str = data["altEnd"]
self.date_start_alt: Union[str, None] = (
None if "altStart" not in data else data["altStart"]
)
self.date_end_alt: Union[str, None] = None if "altEnd" not in data else data["altEnd"]
self.time_modified: Union[datetime, None] = (
None
if "modDate" not in data or "modTime" not in data