7 Commits

Author SHA1 Message Date
5082b803a0 Merge pull request 'v0.5.0' (#87) from dev into master
Reviewed-on: #87
2025-05-05 01:06:48 +03:00
01d6831de0 Upgrade to version to 0.5.0
All checks were successful
Tests / test (3.10) (push) Successful in 30s
Tests / test (3.11) (push) Successful in 26s
Tests / test (3.12) (push) Successful in 34s
Tests / test (3.9) (push) Successful in 27s
Tests / test (3.10) (pull_request) Successful in 27s
Tests / test (3.11) (pull_request) Successful in 29s
Tests / test (3.12) (pull_request) Successful in 35s
Tests / test (3.9) (pull_request) Successful in 27s
2025-05-05 00:05:16 +02:00
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
387565605e Merge pull request 'v0.4.0' (#53) from dev into master
Reviewed-on: #53
2024-09-08 02:54:11 +03:00
78de092a45 Changed pip_requirements location 2024-03-26 14:26:56 +02:00
860ecadb88 Renovate will use dev branch as a main one 2024-03-26 14:14:35 +02:00
4 changed files with 15 additions and 4 deletions

View File

@@ -3,6 +3,15 @@
"extends": [ "extends": [
"config:base" "config:base"
], ],
"baseBranches": [
"dev"
],
"pip_requirements": {
"fileMatch": [
"requirements/.*\\.txt$"
],
"enabled": true
},
"packageRules": [ "packageRules": [
{ {
"matchUpdateTypes": [ "matchUpdateTypes": [

View File

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

View File

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

View File

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