19 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
c17a9d4206 Update dependency pytest-cov to ~=6.1.0
All checks were successful
Tests / test (3.10) (pull_request) Successful in 37s
Tests / test (3.11) (pull_request) Successful in 36s
Tests / test (3.12) (pull_request) Successful in 44s
Tests / test (3.9) (pull_request) Successful in 36s
Tests / test (3.10) (push) Successful in 45s
Tests / test (3.11) (push) Successful in 36s
Tests / test (3.12) (push) Successful in 44s
Tests / test (3.9) (push) Successful in 37s
2025-04-01 14:38:49 +03:00
389582255f Merge pull request 'Update dependency tox to v4.25.0' (#84) from renovate/tox-4.x into dev
All checks were successful
Tests / test (3.10) (push) Successful in 40s
Tests / test (3.11) (push) Successful in 38s
Tests / test (3.12) (push) Successful in 48s
Tests / test (3.9) (push) Successful in 42s
Reviewed-on: #84
2025-03-27 17:57:54 +02:00
89bfea3f8b Update dependency tox to v4.25.0
All checks were successful
Tests / test (3.10) (pull_request) Successful in 43s
Tests / test (3.11) (pull_request) Successful in 41s
Tests / test (3.12) (pull_request) Successful in 48s
Tests / test (3.9) (pull_request) Successful in 39s
2025-03-27 17:30:59 +02:00
668f05f7f2 Merge pull request 'Update dependency pylint to ==3.3.6,<3.4.0' (#83) from renovate/pylint-3.x into dev
All checks were successful
Tests / test (3.10) (push) Successful in 44s
Tests / test (3.11) (push) Successful in 40s
Tests / test (3.9) (push) Successful in 40s
Tests / test (3.12) (push) Successful in 48s
Reviewed-on: #83
2025-03-20 15:11:56 +02:00
c6d7e8733a Update dependency pylint to ==3.3.6,<3.4.0
All checks were successful
Tests / test (3.10) (pull_request) Successful in 42s
Tests / test (3.12) (pull_request) Successful in 53s
Tests / test (3.9) (pull_request) Successful in 41s
Tests / test (3.11) (pull_request) Successful in 40s
2025-03-20 13:41:06 +02:00
2fcd2eae52 Update dependency pylint to ==3.3.5,<3.4.0
Some checks failed
Tests / test (3.10) (pull_request) Successful in 45s
Tests / test (3.11) (pull_request) Successful in 44s
Tests / test (3.12) (pull_request) Successful in 50s
Tests / test (3.9) (pull_request) Failing after 45s
Tests / test (3.10) (push) Successful in 44s
Tests / test (3.11) (push) Successful in 43s
Tests / test (3.12) (push) Failing after 51s
Tests / test (3.9) (push) Failing after 44s
2025-03-09 09:35:12 +02:00
500d24016d Update dependency tox to v4.24.2
Some checks failed
Tests / test (3.10) (pull_request) Successful in 1m34s
Tests / test (3.11) (pull_request) Successful in 53s
Tests / test (3.12) (pull_request) Failing after 55s
Tests / test (3.9) (pull_request) Successful in 49s
Tests / test (3.10) (push) Successful in 47s
Tests / test (3.11) (push) Successful in 45s
Tests / test (3.12) (push) Successful in 53s
Tests / test (3.9) (push) Successful in 47s
2025-03-07 20:38:27 +02:00
7f1a330436 Update dependency mypy to ~=1.15.0
Some checks failed
Tests / test (3.10) (pull_request) Successful in 56s
Tests / test (3.11) (pull_request) Successful in 54s
Tests / test (3.12) (pull_request) Successful in 1m0s
Tests / test (3.9) (pull_request) Successful in 54s
Tests / test (3.10) (push) Failing after 55s
Tests / test (3.11) (push) Successful in 54s
Tests / test (3.12) (push) Successful in 1m1s
Tests / test (3.9) (push) Successful in 55s
2025-02-05 06:31:20 +02:00
a529184352 Update dependency black to v25
Some checks failed
Tests / test (3.10) (pull_request) Successful in 59s
Tests / test (3.11) (pull_request) Failing after 57s
Tests / test (3.12) (pull_request) Failing after 1m3s
Tests / test (3.9) (pull_request) Failing after 58s
Tests / test (3.10) (push) Failing after 58s
Tests / test (3.11) (push) Successful in 56s
Tests / test (3.12) (push) Failing after 1m3s
Tests / test (3.9) (push) Successful in 58s
2025-01-29 06:30:09 +02:00
c43a0223fa Update dependency pylint to ==3.3.4,<3.4.0
Some checks failed
Tests / test (3.10) (pull_request) Successful in 1m0s
Tests / test (3.11) (pull_request) Successful in 1m0s
Tests / test (3.12) (pull_request) Successful in 1m12s
Tests / test (3.9) (pull_request) Successful in 1m1s
Tests / test (3.10) (push) Failing after 1m0s
Tests / test (3.11) (push) Successful in 59s
Tests / test (3.12) (push) Failing after 1m9s
Tests / test (3.9) (push) Successful in 1m0s
2025-01-28 15:50:59 +02:00
37087787ee Merge pull request 'Update dependency twine to ~=6.1.0' (#76) from renovate/twine-6.x into dev
Some checks failed
Tests / test (3.10) (push) Successful in 1m29s
Tests / test (3.11) (push) Successful in 1m23s
Tests / test (3.12) (push) Successful in 1m37s
Tests / test (3.9) (push) Failing after 10m46s
Reviewed-on: #76
2025-01-21 22:03:21 +02:00
2ac646e7c0 Update dependency twine to ~=6.1.0
Some checks failed
Tests / test (3.10) (pull_request) Successful in 1m24s
Tests / test (3.11) (pull_request) Successful in 1m26s
Tests / test (3.12) (pull_request) Failing after 1m30s
Tests / test (3.9) (pull_request) Successful in 1m24s
2025-01-21 21:37:44 +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
5 changed files with 20 additions and 9 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,10 +1,10 @@
black~=24.8.0 black~=25.1.0
isort==5.13.2 isort==5.13.2
mypy~=1.14.0 mypy~=1.15.0
pylint==3.3.3,<3.4.0 pylint==3.3.7,<3.4.0
pytest-cov~=6.0.0 pytest-cov~=6.1.0
pytest~=8.3.2 pytest~=8.3.2
tox==4.24.1 tox==4.25.0
types-ujson~=5.10.0.20240515 types-ujson~=5.10.0.20240515
# Disabled async libraries for now # Disabled async libraries for now

View File

@@ -1,2 +1,2 @@
build==1.2.2.post1 build==1.2.2.post1
twine~=6.0.0 twine~=6.1.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