1 Commits

Author SHA1 Message Date
b4273ed894 Update dependency pylint to ==3.3.7,<3.4.0
Some checks failed
Tests / test (3.10) (pull_request) Failing after 1m13s
Tests / test (3.11) (pull_request) Failing after 27s
Tests / test (3.12) (pull_request) Failing after 32s
Tests / test (3.9) (pull_request) Failing after 27s
2025-05-04 20:55:39 +03:00
6 changed files with 12 additions and 14 deletions

View File

@@ -1,3 +1,3 @@
requests~=2.32.3
xmltodict~=0.15.0
xmltodict~=0.14.0
isodate~=0.7.0

View File

@@ -1,10 +1,10 @@
black~=25.1.0
isort==5.13.2
mypy~=1.17.0
pylint==3.3.8,<3.4.0
pytest-cov~=6.3.0
pytest~=8.4.0
tox==4.30.2
mypy~=1.15.0
pylint==3.3.7,<3.4.0
pytest-cov~=6.1.0
pytest~=8.3.2
tox==4.25.0
types-ujson~=5.10.0.20240515
# Disabled async libraries for now

View File

@@ -1,2 +1,2 @@
build==1.3.0
twine~=6.2.0
build==1.2.2.post1
twine~=6.1.0

View File

@@ -1 +1 @@
ujson~=5.11.0
ujson~=5.10.0

View File

@@ -21,7 +21,7 @@ trip = client.trip_find(origin_id=origin.id, dest_id=destination.id)
"""
__name__ = "pyrmv"
__version__ = "0.5.0"
__version__ = "0.4.0"
__license__ = "MIT License"
__author__ = "Profitroll"

View File

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