144 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
a03a55e716 Update dependency tox to v4.24.1
Some checks failed
Tests / test (3.10) (pull_request) Successful in 1m25s
Tests / test (3.11) (pull_request) Successful in 1m24s
Tests / test (3.12) (pull_request) Successful in 1m30s
Tests / test (3.9) (pull_request) Successful in 1m23s
Tests / test (3.10) (push) Failing after 1m27s
Tests / test (3.11) (push) Failing after 1m24s
Tests / test (3.12) (push) Successful in 1m32s
Tests / test (3.9) (push) Failing after 1m25s
2025-01-21 21:37:40 +02:00
baad9bb83c Merge pull request 'Update dependency tox to v4.24.0' (#74) from renovate/tox-4.x into dev
All checks were successful
Tests / test (3.12) (push) Successful in 1m33s
Tests / test (3.9) (push) Successful in 1m27s
Tests / test (3.10) (push) Successful in 1m26s
Tests / test (3.11) (push) Successful in 1m27s
Reviewed-on: #74
2025-01-21 21:01:38 +02:00
f981deea66 Update dependency tox to v4.24.0
All checks were successful
Tests / test (3.11) (pull_request) Successful in 1m25s
Tests / test (3.12) (pull_request) Successful in 1m31s
Tests / test (3.9) (pull_request) Successful in 1m25s
Tests / test (3.10) (pull_request) Successful in 1m29s
2025-01-21 20:33:18 +02:00
8e4fec6be3 Update dependency pylint to ==3.3.3,<3.4.0
Some checks failed
Tests / test (3.10) (pull_request) Successful in 3m9s
Tests / test (3.11) (pull_request) Successful in 3m8s
Tests / test (3.12) (pull_request) Successful in 3m14s
Tests / test (3.9) (pull_request) Successful in 3m6s
Tests / test (3.10) (push) Successful in 3m7s
Tests / test (3.11) (push) Successful in 3m7s
Tests / test (3.12) (push) Successful in 3m14s
Tests / test (3.9) (push) Failing after 3m7s
2024-12-24 05:27:50 +02:00
393e120069 Update dependency mypy to ~=1.14.0
All checks were successful
Tests / test (3.10) (pull_request) Successful in 3m11s
Tests / test (3.11) (pull_request) Successful in 3m9s
Tests / test (3.9) (pull_request) Successful in 3m9s
Tests / test (3.12) (pull_request) Successful in 3m16s
Tests / test (3.10) (push) Successful in 3m13s
Tests / test (3.11) (push) Successful in 3m5s
Tests / test (3.12) (push) Successful in 3m15s
Tests / test (3.9) (push) Successful in 3m7s
2024-12-20 17:48:21 +02:00
7aec10eb58 Update dependency pylint to ==3.3.2,<3.4.0
Some checks failed
Tests / test (3.10) (pull_request) Successful in 3m41s
Tests / test (3.11) (pull_request) Successful in 3m14s
Tests / test (3.12) (pull_request) Successful in 3m20s
Tests / test (3.9) (pull_request) Successful in 3m14s
Tests / test (3.10) (push) Successful in 3m15s
Tests / test (3.11) (push) Failing after 3m14s
Tests / test (3.12) (push) Successful in 3m19s
Tests / test (3.9) (push) Successful in 3m14s
2024-12-01 21:33:07 +02:00
2ce3eb878b Merge pull request 'Update dependency twine to v6' (#70) from renovate/twine-6.x into dev
All checks were successful
Tests / test (3.10) (push) Successful in 3m13s
Tests / test (3.11) (push) Successful in 3m13s
Tests / test (3.12) (push) Successful in 3m18s
Tests / test (3.9) (push) Successful in 3m13s
Reviewed-on: #70
2024-11-30 21:08:39 +02:00
2b37dd2a0c Dropped support for Python 3.8 because of EOL.
All checks were successful
Tests / test (3.11) (push) Successful in 3m10s
Tests / test (3.9) (push) Successful in 3m10s
Tests / test (3.12) (push) Successful in 3m21s
Tests / test (3.10) (push) Successful in 3m11s
2024-11-30 20:04:06 +01:00
0bf4140c5e Update dependency twine to v6
Some checks failed
Tests / test (3.12) (pull_request) Successful in 3m20s
Tests / test (3.8) (pull_request) Failing after 2m45s
Tests / test (3.10) (pull_request) Successful in 3m41s
Tests / test (3.11) (pull_request) Successful in 3m20s
Tests / test (3.9) (pull_request) Successful in 3m14s
2024-11-30 18:27:49 +02:00
a3eb99793e Update dependency pytest-cov to v6
Some checks failed
Tests / test (3.10) (pull_request) Successful in -1m41s
Tests / test (3.11) (pull_request) Successful in -1m41s
Tests / test (3.12) (pull_request) Successful in -1m34s
Tests / test (3.8) (pull_request) Failing after -2m34s
Tests / test (3.9) (pull_request) Successful in -1m44s
Tests / test (3.10) (push) Successful in -1m41s
Tests / test (3.11) (push) Successful in -1m44s
Tests / test (3.12) (push) Successful in -1m36s
Tests / test (3.8) (push) Failing after -2m36s
Tests / test (3.9) (push) Successful in -1m44s
2024-10-29 22:25:23 +02:00
fb4ba9144a Merge pull request 'Update dependency mypy to ~=1.13.0' (#68) from renovate/mypy-1.x into dev
All checks were successful
Tests / test (3.10) (push) Successful in -1m16s
Tests / test (3.11) (push) Successful in -1m15s
Tests / test (3.12) (push) Successful in -1m4s
Tests / test (3.9) (push) Successful in -1m12s
Tests / test (3.8) (push) Successful in -1m15s
Reviewed-on: #68
2024-10-23 02:14:45 +03:00
0fe90e13a8 Update dependency mypy to ~=1.13.0
All checks were successful
Tests / test (3.10) (pull_request) Successful in -1m10s
Tests / test (3.12) (pull_request) Successful in -1m4s
Tests / test (3.8) (pull_request) Successful in -1m14s
Tests / test (3.11) (pull_request) Successful in -1m17s
Tests / test (3.9) (pull_request) Successful in -1m18s
2024-10-23 01:28:51 +03:00
608d3a775c Update dependency tox to v4.23.2
All checks were successful
Tests / test (3.11) (pull_request) Successful in -1m16s
Tests / test (3.8) (pull_request) Successful in -1m13s
Tests / test (3.10) (pull_request) Successful in -1m16s
Tests / test (3.12) (pull_request) Successful in -1m7s
Tests / test (3.9) (pull_request) Successful in -1m16s
Tests / test (3.10) (push) Successful in -1m17s
Tests / test (3.11) (push) Successful in -1m21s
Tests / test (3.12) (push) Successful in -1m7s
Tests / test (3.8) (push) Successful in -1m18s
Tests / test (3.9) (push) Successful in -1m16s
2024-10-22 18:12:10 +03:00
94034a1b1a Merge pull request 'Update dependency tox to v4.23.0' (#66) from renovate/tox-4.x into dev
Some checks failed
Tests / test (3.10) (push) Successful in -53s
Tests / test (3.11) (push) Failing after -58s
Tests / test (3.12) (push) Successful in -45s
Tests / test (3.8) (push) Failing after -57s
Tests / test (3.9) (push) Successful in -56s
Reviewed-on: #66
2024-10-17 09:55:43 +03:00
ed735fa605 Update dependency tox to v4.23.0
All checks were successful
Tests / test (3.11) (pull_request) Successful in -56s
Tests / test (3.12) (pull_request) Successful in -40s
Tests / test (3.8) (pull_request) Successful in -48s
Tests / test (3.9) (pull_request) Successful in -54s
Tests / test (3.10) (pull_request) Successful in -54s
2024-10-17 07:40:09 +03:00
5699a7ce86 Update dependency tox to v4.22.0
Some checks failed
Tests / test (3.10) (pull_request) Successful in -44s
Tests / test (3.11) (pull_request) Successful in -45s
Tests / test (3.12) (pull_request) Successful in -32s
Tests / test (3.8) (pull_request) Successful in -43s
Tests / test (3.9) (pull_request) Successful in -41s
Tests / test (3.10) (push) Failing after -45s
Tests / test (3.11) (push) Successful in -46s
Tests / test (3.12) (push) Successful in -35s
Tests / test (3.8) (push) Successful in -47s
Tests / test (3.9) (push) Failing after -45s
2024-10-15 22:29:54 +03:00
87d24f3da1 Update dependency mypy to ~=1.12.0
All checks were successful
Tests / test (3.10) (pull_request) Successful in -40s
Tests / test (3.11) (pull_request) Successful in -45s
Tests / test (3.12) (pull_request) Successful in -32s
Tests / test (3.8) (pull_request) Successful in -45s
Tests / test (3.9) (pull_request) Successful in -43s
Tests / test (3.10) (push) Successful in -42s
Tests / test (3.11) (push) Successful in -44s
Tests / test (3.12) (push) Successful in -34s
Tests / test (3.8) (push) Successful in -44s
Tests / test (3.9) (push) Successful in -45s
2024-10-14 15:22:03 +03:00
b64b02b6b4 Update dependency xmltodict to ~=0.14.0
Some checks failed
Tests / test (3.10) (pull_request) Successful in 2s
Tests / test (3.11) (pull_request) Successful in -26s
Tests / test (3.12) (pull_request) Failing after -16s
Tests / test (3.8) (pull_request) Successful in -30s
Tests / test (3.9) (pull_request) Successful in -31s
Tests / test (3.10) (push) Successful in -26s
Tests / test (3.11) (push) Successful in -34s
Tests / test (3.12) (push) Successful in -23s
Tests / test (3.8) (push) Successful in -32s
Tests / test (3.9) (push) Successful in -26s
2024-10-08 22:46:23 +03:00
4a376d0522 Update dependency isodate to ~=0.7.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 -13s
Tests / test (3.8) (pull_request) Successful in -24s
Tests / test (3.9) (pull_request) Successful in -23s
Tests / test (3.10) (push) Successful in -22s
Tests / test (3.11) (push) Successful in -27s
Tests / test (3.12) (push) Successful in -22s
Tests / test (3.8) (push) Successful in -29s
Tests / test (3.9) (push) Successful in -29s
2024-10-08 06:04:32 +03:00
52b86c257d revert 0e89fd0350
All checks were successful
Tests / test (3.10) (push) Successful in -27s
Tests / test (3.11) (push) Successful in -20s
Tests / test (3.12) (push) Successful in -14s
Tests / test (3.8) (push) Successful in -26s
Tests / test (3.9) (push) Successful in -25s
revert Update dependency pylint to ==3.3.1,<3.4.0
2024-10-07 14:21:38 +03:00
0e89fd0350 Update dependency pylint to ==3.3.1,<3.4.0
Some checks failed
Tests / test (3.10) (pull_request) Successful in -21s
Tests / test (3.11) (pull_request) Successful in -21s
Tests / test (3.12) (pull_request) Successful in -15s
Tests / test (3.8) (pull_request) Failing after -1m11s
Tests / test (3.9) (pull_request) Successful in -26s
Tests / test (3.10) (push) Successful in -26s
Tests / test (3.11) (push) Successful in -30s
Tests / test (3.12) (push) Successful in -20s
Tests / test (3.8) (push) Failing after -1m10s
Tests / test (3.9) (push) Successful in -29s
2024-10-07 14:04:03 +03:00
b507a70615 Merge pull request 'Update dependency tox to v4.21.2' (#58) from renovate/tox-4.x into dev
All checks were successful
Tests / test (3.11) (push) Successful in -19s
Tests / test (3.12) (push) Successful in -13s
Tests / test (3.8) (push) Successful in -24s
Tests / test (3.9) (push) Successful in -22s
Tests / test (3.10) (push) Successful in -28s
Reviewed-on: #58
2024-10-07 13:47:40 +03:00
a0b9d2a6da revert f04733c0
All checks were successful
Tests / test (3.10) (push) Successful in -20s
Tests / test (3.11) (push) Successful in -24s
Tests / test (3.12) (push) Successful in -19s
Tests / test (3.8) (push) Successful in -25s
Tests / test (3.9) (push) Successful in -28s
2024-10-07 13:36:11 +03:00
1d78e6c55e Update dependency tox to v4.21.2
Some checks failed
Tests / test (3.11) (pull_request) Successful in -15s
Tests / test (3.12) (pull_request) Successful in -5s
Tests / test (3.9) (pull_request) Successful in -15s
Tests / test (3.10) (pull_request) Successful in -21s
Tests / test (3.8) (pull_request) Failing after -1m9s
2024-10-06 22:23:08 +03:00
affb4007e4 Update dependency build to v1.2.2.post1
Some checks failed
Tests / test (3.10) (pull_request) Successful in -13s
Tests / test (3.11) (pull_request) Successful in -20s
Tests / test (3.12) (pull_request) Successful in -3s
Tests / test (3.8) (pull_request) Failing after -1m6s
Tests / test (3.9) (pull_request) Successful in -13s
Tests / test (3.10) (push) Successful in -11s
Tests / test (3.11) (push) Successful in -16s
Tests / test (3.12) (push) Failing after -3s
Tests / test (3.8) (push) Failing after -1m4s
Tests / test (3.9) (push) Failing after -11s
2024-10-06 21:20:00 +03:00
c8b42ce818 Merge pull request 'Update dependency tox to v4.21.0' (#57) from renovate/tox-4.x into dev
Some checks failed
Tests / test (3.10) (push) Successful in 45s
Tests / test (3.11) (push) Successful in 9s
Tests / test (3.12) (push) Successful in 14s
Tests / test (3.8) (push) Failing after -46s
Tests / test (3.9) (push) Successful in 4s
Reviewed-on: #57
2024-10-01 23:12:54 +03:00
f23beec5ad Update dependency tox to v4.21.0
Some checks failed
Tests / test (3.10) (pull_request) Successful in 11s
Tests / test (3.11) (pull_request) Successful in 1s
Tests / test (3.12) (pull_request) Successful in 12s
Tests / test (3.8) (pull_request) Failing after -41s
Tests / test (3.9) (pull_request) Successful in 7s
2024-10-01 07:40:01 +03:00
87841b4037 Update dependency pylint to v3.3.1
Some checks failed
Tests / test (3.10) (pull_request) Failing after 34s
Tests / test (3.11) (pull_request) Successful in 34s
Tests / test (3.12) (pull_request) Failing after 46s
Tests / test (3.8) (pull_request) Failing after -15s
Tests / test (3.9) (pull_request) Successful in 32s
Tests / test (3.10) (push) Failing after 35s
Tests / test (3.11) (push) Successful in 31s
Tests / test (3.12) (push) Failing after 40s
Tests / test (3.8) (push) Failing after -15s
Tests / test (3.9) (push) Successful in 35s
2024-09-24 15:11:43 +03:00
f04733c093 Update dependency pylint to v3.3.0
Some checks failed
Tests / test (3.10) (pull_request) Successful in 48s
Tests / test (3.11) (pull_request) Failing after 47s
Tests / test (3.12) (pull_request) Failing after 58s
Tests / test (3.8) (pull_request) Failing after -2s
Tests / test (3.9) (pull_request) Successful in 48s
Tests / test (3.10) (push) Failing after 46s
Tests / test (3.11) (push) Failing after 47s
Tests / test (3.12) (push) Successful in 52s
Tests / test (3.8) (push) Failing after 0s
Tests / test (3.9) (push) Failing after 44s
2024-09-20 16:22:59 +03:00
4412dd133c Merge pull request 'Update dependency tox to v4.20.0' (#54) from renovate/tox-4.x into dev
All checks were successful
Tests / test (3.10) (push) Successful in 53s
Tests / test (3.11) (push) Successful in 53s
Tests / test (3.8) (push) Successful in 49s
Tests / test (3.9) (push) Successful in 54s
Tests / test (3.12) (push) Successful in 57s
Reviewed-on: #54
2024-09-19 23:10:15 +03:00
e3a8e385b9 Merge branch 'dev' into renovate/tox-4.x
All checks were successful
Tests / test (3.10) (pull_request) Successful in 49s
Tests / test (3.11) (pull_request) Successful in 48s
Tests / test (3.12) (pull_request) Successful in 57s
Tests / test (3.8) (pull_request) Successful in 46s
Tests / test (3.9) (pull_request) Successful in 52s
2024-09-19 23:10:05 +03:00
dfb472a4e8 Possibly fixed false positives on exception detection
All checks were successful
Tests / test (3.10) (push) Successful in 48s
Tests / test (3.11) (push) Successful in 46s
Tests / test (3.12) (push) Successful in 56s
Tests / test (3.8) (push) Successful in 47s
Tests / test (3.9) (push) Successful in 50s
2024-09-19 22:03:57 +02:00
c06d90b7ce Fixed unavailable Message attributes 2024-09-19 22:03:23 +02:00
9e12b53c3b Trip.duration and Trip.real_time_duration are now nullable 2024-09-19 22:03:02 +02:00
19971e6e71 Fixed a rare bug with locals() being changed during iteration 2024-09-19 21:56:24 +02:00
5f30c68edb Update dependency tox to v4.20.0
Some checks failed
Tests / test (3.10) (pull_request) Successful in 1m44s
Tests / test (3.12) (pull_request) Successful in 1m14s
Tests / test (3.8) (pull_request) Successful in 55s
Tests / test (3.11) (pull_request) Failing after 50s
Tests / test (3.9) (pull_request) Failing after 55s
2024-09-19 06:56:49 +03:00
956c4c30ea Added handling for SVC_PARAM error
Some checks failed
Tests / test (3.10) (push) Successful in 1s
Tests / test (3.11) (push) Successful in 0s
Tests / test (3.12) (push) Failing after 7s
Tests / test (3.8) (push) Successful in -2s
Tests / test (3.9) (push) Successful in -4s
2024-09-15 00:55:16 +02:00
c70982755d Improved and cleaned up imports 2024-09-15 00:54:56 +02:00
483aae38b3 Added Python 3.12 to testing matrix
All checks were successful
Tests / test (3.10) (push) Successful in 23s
Tests / test (3.11) (push) Successful in 25s
Tests / test (3.12) (push) Successful in 1m4s
Tests / test (3.8) (push) Successful in 23s
Tests / test (3.9) (push) Successful in 21s
2024-09-08 01:58:25 +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
759e6f3703 Updated to 0.4.0
All checks were successful
Tests / test (3.10) (push) Successful in 22s
Tests / test (3.11) (push) Successful in 23s
Tests / test (3.8) (push) Successful in 22s
Tests / test (3.9) (push) Successful in 23s
Tests / test (3.10) (pull_request) Successful in 22s
Tests / test (3.11) (pull_request) Successful in 19s
Tests / test (3.8) (pull_request) Successful in 22s
Tests / test (3.9) (pull_request) Successful in 20s
2024-09-08 01:44:18 +02:00
09d43d3426 Merge branch 'rmv-2.39.1' into dev
All checks were successful
Tests / test (3.10) (push) Successful in 20s
Tests / test (3.11) (push) Successful in 22s
Tests / test (3.8) (push) Successful in 20s
Tests / test (3.9) (push) Successful in 21s
2024-09-08 01:40:22 +02:00
cbcfc8604f Changed testing method for Client.him_search()
All checks were successful
Tests / test (3.10) (pull_request) Successful in 23s
Tests / test (3.11) (pull_request) Successful in 33s
Tests / test (3.8) (pull_request) Successful in 24s
Tests / test (3.9) (pull_request) Successful in 21s
2024-09-08 01:28:18 +02:00
34a601424b Dependencies bumped and .gitignore updated 2024-09-08 01:27:58 +02:00
0096581595 Disabled unused async libraries
Some checks failed
Tests / test (3.10) (pull_request) Successful in 34s
Tests / test (3.11) (pull_request) Successful in 33s
Tests / test (3.8) (pull_request) Successful in 34s
Tests / test (3.9) (pull_request) Failing after 36s
2024-09-08 00:51:21 +02:00
9fd0704156 Merge pull request 'Update dependency tox to v4.18.1' (#50) from renovate/tox-4.x into dev
Some checks failed
Tests / test (3.10) (push) Successful in 39s
Tests / test (3.11) (push) Successful in 37s
Tests / test (3.8) (push) Failing after 33s
Tests / test (3.9) (push) Failing after 37s
Reviewed-on: #50
2024-09-08 01:49:03 +03:00
d29793f064 Merge pull request 'Update dependencies in the branch' (#51) from dev into rmv-2.39.1
Some checks failed
Tests / test (3.10) (pull_request) Successful in 33s
Tests / test (3.11) (pull_request) Successful in 37s
Tests / test (3.8) (pull_request) Failing after 38s
Tests / test (3.9) (pull_request) Failing after 38s
Reviewed-on: #51
2024-09-07 21:34:20 +03:00
34953dd739 Added Python 3.12 support 2024-09-07 20:21:52 +02:00
11eddfab68 Update dependency tox to v4.18.1
All checks were successful
Tests / test (3.10) (pull_request) Successful in 36s
Tests / test (3.11) (pull_request) Successful in 37s
Tests / test (3.8) (pull_request) Successful in 38s
Tests / test (3.9) (pull_request) Successful in 35s
2024-09-07 19:48:59 +03:00
cb5ec2df90 Changed runner's label to ubuntu-latest-de
Some checks failed
Tests / test (3.10) (push) Failing after 35s
Tests / test (3.11) (push) Failing after 1m8s
Tests / test (3.8) (push) Successful in 58s
Tests / test (3.9) (push) Failing after 1m4s
Tests / test (3.10) (pull_request) Failing after 33s
Tests / test (3.11) (pull_request) Failing after 27s
Tests / test (3.8) (pull_request) Failing after 33s
Tests / test (3.9) (pull_request) Failing after 31s
2024-09-07 12:01:27 +03:00
06221ac72c Merge pull request 'Update dependency build to v1.2.2' (#49) from renovate/build-1.x into dev
Some checks failed
Tests / test (3.8) (push) Waiting to run
Tests / test (3.9) (push) Waiting to run
Tests / test (3.10) (push) Failing after 22m41s
Tests / test (3.11) (push) Has been cancelled
Reviewed-on: #49
2024-09-07 11:31:35 +03:00
3284fb8452 Update dependency build to v1.2.2
Some checks failed
Tests / test (3.10) (pull_request) Failing after 22m44s
Tests / test (3.11) (pull_request) Failing after 22m44s
Tests / test (3.8) (pull_request) Failing after 22m44s
Tests / test (3.9) (pull_request) Failing after 22m44s
2024-09-07 00:00:46 +03:00
4b169c1a86 Update dependency pylint to v3.2.7 (#48)
Some checks failed
Tests / test (3.10) (push) Failing after 22m48s
Tests / test (3.11) (push) Failing after 22m44s
Tests / test (3.8) (push) Failing after 22m44s
Tests / test (3.9) (push) Failing after 22m44s
2024-08-31 20:02:52 +03:00
6df5f6993b Update dependency pylint to v3.2.7
Some checks failed
Tests / test (3.10) (pull_request) Failing after 22m44s
Tests / test (3.11) (pull_request) Failing after 22m43s
Tests / test (3.8) (pull_request) Failing after 22m44s
Tests / test (3.9) (pull_request) Failing after 22m46s
2024-08-31 18:06:11 +03:00
8cd447bfa2 Update dependency pytest-asyncio to ~=0.24.0 (#47) 2024-08-22 12:11:55 +03:00
d20a463ba0 Update dependency pytest-asyncio to ~=0.24.0 2024-08-22 11:53:54 +03:00
fa2a70efbf Added PlatformType and PlatformTypeType (for #4) 2024-08-18 22:51:57 +02:00
42adffec7b Update dependency tox to v4.18.0 (#46) 2024-08-13 21:58:08 +03:00
e4574fb42d Update dependency tox to v4.18.0 2024-08-13 20:33:11 +03:00
81a05b194a Merge pull request 'Update dependency tox to v4.17.1' (#45) from renovate/tox-4.x into dev
Reviewed-on: #45
2024-08-08 15:24:48 +03:00
cb6106d486 Update dependency tox to v4.17.1 2024-08-07 21:23:00 +03:00
1d131642eb Merge pull request 'Update dependency tox to v4.17.0' (#44) from renovate/tox-4.x into dev
Reviewed-on: #44
2024-08-06 00:39:34 +03:00
519e083f57 Update dependency tox to v4.17.0 2024-08-05 23:47:05 +03:00
df99e97399 Merge pull request 'Update dependency black to ~=24.8.0' (#43) from renovate/black-24.x into dev
Reviewed-on: #43
2024-08-03 00:58:03 +03:00
92e99fe01a Update dependency black to ~=24.8.0 2024-08-02 21:37:56 +03:00
aa51ddfd70 Update dependency pylint to v3.2.6 (#42) 2024-07-21 23:31:50 +03:00
82d9f703d4 Update dependency pylint to v3.2.6 2024-07-21 23:08:48 +03:00
11a1749623 Update dependency pytest to ~=8.3.1 (#41) 2024-07-20 20:02:10 +03:00
b87e2ea3de Update dependency pytest to ~=8.3.1 2024-07-20 19:40:05 +03:00
2c5472502c Merge pull request 'Update dependency mypy to ~=1.11.0' (#40) from renovate/mypy-1.x into dev
Reviewed-on: #40
2024-07-19 21:42:45 +03:00
fd9199c8ae Update dependency mypy to ~=1.11.0 2024-07-19 21:30:25 +03:00
b8d868efae Update dependency tox to v4.16.0 (#39) 2024-07-03 08:47:52 +03:00
8ebc8d4e59 Update dependency tox to v4.16.0 2024-07-03 07:05:54 +03:00
4cb1a29819 Update dependency pylint to v3.2.5 (#38) 2024-06-28 20:58:42 +03:00
ae565481bc Update dependency pylint to v3.2.5 2024-06-28 17:03:45 +03:00
868060aa35 Merge pull request 'Update dependency pylint to v3.2.4' (#37) from renovate/pylint-3.x into dev
Reviewed-on: #37
2024-06-26 11:54:46 +03:00
beda60e7a8 Update dependency pylint to v3.2.4
Some checks failed
Tests / test (3.10) (pull_request) Failing after 15s
Tests / test (3.11) (pull_request) Failing after 13s
Tests / test (3.8) (pull_request) Failing after 13s
Tests / test (3.9) (pull_request) Failing after 14s
2024-06-26 11:26:50 +03:00
dd1b8d2595 Update dependency types-aiofiles to v24 (#36)
Some checks failed
Tests / test (3.10) (push) Failing after 15s
Tests / test (3.11) (push) Failing after 14s
Tests / test (3.8) (push) Failing after 14s
Tests / test (3.9) (push) Failing after 14s
2024-06-26 08:26:06 +03:00
3531486ee6 Update dependency types-aiofiles to v24
Some checks failed
Tests / test (3.10) (pull_request) Failing after 14s
Tests / test (3.11) (pull_request) Failing after 14s
Tests / test (3.8) (pull_request) Failing after 13s
Tests / test (3.9) (pull_request) Failing after 14s
2024-06-26 06:08:23 +03:00
cb01e17df4 Merge pull request 'Update dependency pylint to v3.2.3' (#35) from renovate/pylint-3.x into dev
Some checks failed
Tests / test (3.10) (push) Failing after 22m49s
Tests / test (3.8) (push) Has been cancelled
Tests / test (3.9) (push) Has been cancelled
Tests / test (3.11) (push) Has been cancelled
Reviewed-on: #35
2024-06-06 21:47:33 +03:00
a3ef49b9a1 Update dependency pylint to v3.2.3
Some checks failed
Tests / test (3.10) (pull_request) Failing after 22m48s
Tests / test (3.11) (pull_request) Failing after 22m47s
Tests / test (3.8) (pull_request) Failing after 22m50s
Tests / test (3.9) (pull_request) Failing after 23m6s
2024-06-06 18:02:45 +03:00
11c47d498c Update dependency tox to v4.15.1 (#34)
Some checks failed
Tests / test (3.10) (push) Failing after 22m59s
Tests / test (3.11) (push) Failing after 22m45s
Tests / test (3.8) (push) Failing after 22m50s
Tests / test (3.9) (push) Failing after 22m49s
2024-06-06 08:11:41 +03:00
3acf96884e Update dependency tox to v4.15.1
Some checks failed
Tests / test (3.10) (pull_request) Failing after 22m49s
Tests / test (3.11) (pull_request) Failing after 22m48s
Tests / test (3.8) (pull_request) Failing after 22m50s
Tests / test (3.9) (pull_request) Failing after 22m52s
2024-06-06 04:19:04 +03:00
8c283f741e Merge pull request 'Update dependency pylint to v3.2.2' (#32) from renovate/pylint-3.x into dev
Some checks failed
Tests / test (3.11) (push) Has been cancelled
Tests / test (3.8) (push) Has been cancelled
Tests / test (3.9) (push) Has been cancelled
Tests / test (3.10) (push) Has been cancelled
Reviewed-on: #32
2024-05-20 19:59:44 +03:00
2525f8d33e Update dependency requests to ~=2.32.0 (#33)
Some checks are pending
Tests / test (3.10) (push) Waiting to run
Tests / test (3.11) (push) Waiting to run
Tests / test (3.8) (push) Waiting to run
Tests / test (3.9) (push) Waiting to run
2024-05-20 19:52:11 +03:00
cbc705ae8e Update dependency requests to ~=2.32.0
Some checks failed
Tests / test (3.8) (pull_request) Has been cancelled
Tests / test (3.9) (pull_request) Has been cancelled
Tests / test (3.11) (pull_request) Has been cancelled
Tests / test (3.10) (pull_request) Has been cancelled
2024-05-20 19:36:23 +03:00
f5daf31f39 Update dependency pylint to v3.2.2
Some checks failed
Tests / test (3.10) (pull_request) Failing after 22m50s
Tests / test (3.11) (pull_request) Failing after 22m56s
Tests / test (3.8) (pull_request) Failing after 22m48s
Tests / test (3.9) (pull_request) Failing after 22m49s
2024-05-20 11:11:30 +03:00
9d49b1b0c8 Fixed wrong license attribute
Some checks failed
Tests / test (3.10) (push) Failing after 22m50s
Tests / test (3.11) (push) Failing after 22m51s
Tests / test (3.9) (push) Has been cancelled
Tests / test (3.8) (push) Has been cancelled
2024-05-19 14:18:41 +02:00
104f73afa4 Merge pull request 'Update dependency twine to ~=5.1.0' (#30) from renovate/twine-5.x into dev
Some checks failed
Tests / test (3.11) (push) Has been cancelled
Tests / test (3.8) (push) Has been cancelled
Tests / test (3.9) (push) Has been cancelled
Tests / test (3.10) (push) Has been cancelled
Reviewed-on: #30
2024-05-19 12:07:29 +03:00
aada32f5db Merge pull request 'Update dependency pylint to v3.2.1' (#31) from renovate/pylint-3.x into dev
Some checks failed
Tests / test (3.11) (push) Has been cancelled
Tests / test (3.8) (push) Has been cancelled
Tests / test (3.9) (push) Has been cancelled
Tests / test (3.10) (push) Has been cancelled
Reviewed-on: #31
2024-05-19 12:06:09 +03:00
7c5a56bb0a Update dependency pylint to v3.2.1
Some checks failed
Tests / test (3.10) (pull_request) Failing after 22m48s
Tests / test (3.11) (pull_request) Failing after 22m48s
Tests / test (3.8) (pull_request) Failing after 22m50s
Tests / test (3.9) (pull_request) Failing after 22m49s
2024-05-18 20:18:37 +03:00
60b0a44454 Update dependency twine to ~=5.1.0
Some checks failed
Tests / test (3.10) (pull_request) Failing after 23m11s
Tests / test (3.11) (pull_request) Failing after 22m48s
Tests / test (3.8) (pull_request) Failing after 23m13s
Tests / test (3.9) (pull_request) Failing after 22m50s
2024-05-16 17:09:45 +03:00
7270475220 Update dependency types-ujson to ~=5.10.0.20240515 (#29)
Some checks failed
Tests / test (3.10) (push) Has been cancelled
Tests / test (3.11) (push) Has been cancelled
Tests / test (3.8) (push) Has been cancelled
Tests / test (3.9) (push) Has been cancelled
2024-05-15 07:00:58 +03:00
86e233994e Update dependency types-ujson to ~=5.10.0.20240515
Some checks failed
Tests / test (3.10) (pull_request) Failing after 22m47s
Tests / test (3.11) (pull_request) Failing after 23m4s
Tests / test (3.8) (pull_request) Failing after 22m48s
Tests / test (3.9) (pull_request) Has been cancelled
2024-05-15 05:42:13 +03:00
9a2c008cbc Merge pull request 'Update dependency ujson to ~=5.10.0' (#27) from renovate/ujson-5.x into dev
Some checks failed
Tests / test (3.10) (push) Waiting to run
Tests / test (3.8) (push) Has been cancelled
Tests / test (3.9) (push) Has been cancelled
Tests / test (3.11) (push) Has been cancelled
Reviewed-on: #27
2024-05-14 23:58:07 +03:00
0c05229534 Merge pull request 'Update dependency pylint to v3.2.0' (#28) from renovate/pylint-3.x into dev
Some checks failed
Tests / test (3.11) (push) Waiting to run
Tests / test (3.8) (push) Waiting to run
Tests / test (3.9) (push) Waiting to run
Tests / test (3.10) (push) Has been cancelled
Reviewed-on: #28
2024-05-14 23:57:17 +03:00
72d1d7b6e6 Update dependency pylint to v3.2.0
Some checks failed
Tests / test (3.10) (pull_request) Failing after 22m49s
Tests / test (3.11) (pull_request) Failing after 22m48s
Tests / test (3.8) (pull_request) Failing after 22m48s
Tests / test (3.9) (pull_request) Failing after 22m48s
2024-05-14 15:03:58 +03:00
ed5a81d25e Update dependency ujson to ~=5.10.0
Some checks failed
Tests / test (3.10) (pull_request) Failing after 22m50s
Tests / test (3.11) (pull_request) Failing after 22m50s
Tests / test (3.8) (pull_request) Failing after 22m48s
Tests / test (3.9) (pull_request) Failing after 23m2s
2024-05-14 05:38:38 +03:00
f024c232d5 Merge pull request 'Update dependency pylint to v3.1.1' (#26) from renovate/pylint-3.x into dev
Some checks failed
Tests / test (3.10) (push) Has been cancelled
Tests / test (3.11) (push) Has been cancelled
Tests / test (3.8) (push) Has been cancelled
Tests / test (3.9) (push) Has been cancelled
Reviewed-on: #26
2024-05-13 19:54:44 +03:00
271f9b54d8 Update dependency pylint to v3.1.1
Some checks failed
Tests / test (3.11) (pull_request) Failing after 22m48s
Tests / test (3.8) (pull_request) Failing after 20m41s
Tests / test (3.9) (pull_request) Has been cancelled
Tests / test (3.10) (pull_request) Has been cancelled
2024-05-13 18:08:44 +03:00
73a16c8b13 Merge pull request 'Update dependency pytest to ~=8.2.0' (#25) from renovate/pytest-8.x into dev
Some checks failed
Tests / test (3.10) (push) Failing after 22m50s
Tests / test (3.11) (push) Failing after 22m48s
Tests / test (3.8) (push) Failing after 23m11s
Tests / test (3.9) (push) Failing after 22m48s
Reviewed-on: #25
2024-04-30 18:45:22 +03:00
a125bdb72d Update dependency pytest to ~=8.2.0
Some checks failed
Tests / test (3.10) (pull_request) Failing after 22m48s
Tests / test (3.11) (pull_request) Failing after 22m48s
Tests / test (3.8) (pull_request) Failing after 23m6s
Tests / test (3.9) (pull_request) Failing after 23m1s
2024-04-28 03:27:52 +03:00
736f36dde7 Merge pull request 'Update dependency tox to v4.15.0' (#24) from renovate/tox-4.x into dev
Some checks failed
Tests / test (3.10) (push) Failing after 22m48s
Tests / test (3.11) (push) Failing after 22m48s
Tests / test (3.8) (push) Failing after 23m8s
Tests / test (3.9) (push) Failing after 22m48s
Reviewed-on: #24
2024-04-26 23:48:47 +03:00
e6d6fee14b Update dependency tox to v4.15.0
Some checks failed
Tests / test (3.10) (pull_request) Failing after 22m48s
Tests / test (3.11) (pull_request) Failing after 22m51s
Tests / test (3.8) (pull_request) Failing after 23m38s
Tests / test (3.9) (pull_request) Failing after 23m5s
2024-04-26 22:20:43 +03:00
956b7da3fb Update dependency mypy to ~=1.10.0 (#23)
Some checks failed
Tests / test (3.10) (push) Failing after 22m49s
Tests / test (3.11) (push) Failing after 22m47s
Tests / test (3.8) (push) Failing after 22m49s
Tests / test (3.9) (push) Failing after 22m47s
2024-04-25 17:20:10 +03:00
bc4613dc57 Update dependency mypy to ~=1.10.0
Some checks failed
Tests / test (3.10) (pull_request) Failing after 22m48s
Tests / test (3.11) (pull_request) Failing after 22m48s
Tests / test (3.8) (pull_request) Failing after 22m48s
Tests / test (3.9) (pull_request) Failing after 22m48s
2024-04-24 17:17:26 +03:00
fec87ae13c Merge pull request 'Update dependency black to ~=24.4.0' (#22) from renovate/black-24.x into dev
Some checks failed
Tests / test (3.10) (push) Failing after 23m27s
Tests / test (3.11) (push) Failing after 22m48s
Tests / test (3.8) (push) Failing after 22m48s
Tests / test (3.9) (push) Failing after 22m48s
Reviewed-on: #22
2024-04-12 23:51:39 +03:00
5d155a5485 Update dependency black to ~=24.4.0
Some checks failed
Tests / test (3.10) (pull_request) Failing after 17m3s
Tests / test (3.11) (pull_request) Failing after 22m46s
Tests / test (3.8) (pull_request) Failing after 22m50s
Tests / test (3.9) (pull_request) Failing after 22m50s
2024-04-12 23:30:30 +03:00
483665e8e7 Update dependency build to v1.2.1 (#21)
Some checks failed
Tests / test (3.10) (push) Failing after 23m8s
Tests / test (3.11) (push) Failing after 23m8s
Tests / test (3.8) (push) Failing after 23m8s
Tests / test (3.9) (push) Failing after 23m8s
2024-03-28 19:42:50 +02:00
231003c3c6 Update dependency build to v1.2.1
Some checks failed
Tests / test (3.10) (pull_request) Failing after 23m11s
Tests / test (3.11) (pull_request) Failing after 23m9s
Tests / test (3.8) (pull_request) Failing after 23m10s
Tests / test (3.9) (pull_request) Failing after 23m8s
2024-03-28 17:33:19 +02:00
5b43707aae Merge pull request 'Update dependency ujson to ~=5.9.0' (#15) from renovate/ujson-5.x into dev
Some checks failed
Tests / test (3.10) (push) Failing after 23m10s
Tests / test (3.11) (push) Failing after 23m8s
Tests / test (3.8) (push) Failing after 23m8s
Tests / test (3.9) (push) Failing after 23m8s
Reviewed-on: #15
2024-03-27 12:31:36 +02:00
082c097b91 Merge pull request 'Update dependency types-ujson to ~=5.9.0.0' (#14) from renovate/types-ujson-5.x into dev
Some checks are pending
Tests / test (3.10) (push) Waiting to run
Tests / test (3.11) (push) Waiting to run
Tests / test (3.8) (push) Waiting to run
Tests / test (3.9) (push) Waiting to run
Reviewed-on: #14
2024-03-27 12:31:33 +02:00
d998a5c8d9 Update dependency types-ujson to ~=5.9.0.0
Some checks failed
Tests / test (3.10) (pull_request) Failing after 23m14s
Tests / test (3.11) (pull_request) Failing after 23m14s
Tests / test (3.8) (pull_request) Failing after 23m12s
Tests / test (3.9) (pull_request) Failing after 23m10s
2024-03-27 12:28:12 +02:00
966b80e69b Update the dependencies
Some checks are pending
Tests / test (3.10) (push) Waiting to run
Tests / test (3.11) (push) Waiting to run
Tests / test (3.8) (push) Waiting to run
Tests / test (3.9) (push) Waiting to run
2024-03-27 11:26:48 +01:00
4ef8ef7d7a Merge branch 'dev' into renovate/ujson-5.x
Some checks failed
Tests / test (3.10) (pull_request) Failing after 23m18s
Tests / test (3.11) (pull_request) Failing after 23m26s
Tests / test (3.8) (pull_request) Failing after 23m11s
Tests / test (3.9) (pull_request) Failing after 23m8s
2024-03-27 12:21:49 +02:00
40b4d490b6 Merge pull request 'Update dependency tox to v4.14.2' (#13) from renovate/tox-4.x into dev
Some checks failed
Tests / test (3.11) (push) Waiting to run
Tests / test (3.8) (push) Waiting to run
Tests / test (3.9) (push) Waiting to run
Tests / test (3.10) (push) Has been cancelled
Reviewed-on: #13
2024-03-27 12:21:40 +02:00
3d1df089de Merge pull request 'Update dependency pylint to v3.1.0' (#11) from renovate/pylint-3.x into dev
Some checks failed
Tests / test (3.11) (push) Waiting to run
Tests / test (3.8) (push) Waiting to run
Tests / test (3.9) (push) Waiting to run
Tests / test (3.10) (push) Has been cancelled
Reviewed-on: #11
2024-03-27 12:21:27 +02:00
b5df7aa93b Merge pull request 'Update dependency isort to v5.13.2' (#9) from renovate/isort-5.x into dev
Some checks failed
Tests / test (3.11) (push) Waiting to run
Tests / test (3.8) (push) Waiting to run
Tests / test (3.9) (push) Waiting to run
Tests / test (3.10) (push) Has been cancelled
Reviewed-on: #9
2024-03-27 12:21:11 +02:00
02f3c2409e Merge pull request 'Update dependency black to v23.12.1' (#7) from renovate/black-23.x into dev
Some checks failed
Tests / test (3.11) (push) Waiting to run
Tests / test (3.8) (push) Waiting to run
Tests / test (3.9) (push) Waiting to run
Tests / test (3.10) (push) Has been cancelled
Reviewed-on: #7
2024-03-27 12:21:05 +02:00
b08ace2ba2 Update dependency ujson to ~=5.9.0
Some checks failed
Tests / test (3.10) (pull_request) Failing after 23m11s
Tests / test (3.11) (pull_request) Failing after 23m6s
Tests / test (3.8) (pull_request) Failing after 23m7s
Tests / test (3.9) (pull_request) Failing after 23m10s
2024-03-26 19:40:47 +02:00
2410571581 Update dependency tox to v4.14.2
Some checks failed
Tests / test (3.10) (pull_request) Failing after 23m15s
Tests / test (3.11) (pull_request) Failing after 24m1s
Tests / test (3.8) (pull_request) Failing after 23m10s
Tests / test (3.9) (pull_request) Failing after 23m9s
2024-03-26 18:38:07 +02:00
2dc5f9a5d8 Update dependency pylint to v3.1.0
Some checks failed
Tests / test (3.10) (pull_request) Failing after 23m10s
Tests / test (3.11) (pull_request) Failing after 23m16s
Tests / test (3.8) (pull_request) Failing after 23m8s
Tests / test (3.9) (pull_request) Failing after 23m10s
2024-03-26 17:35:31 +02:00
83aac1cb12 Update dependency isort to v5.13.2
Some checks failed
Tests / test (3.10) (pull_request) Failing after 23m10s
Tests / test (3.11) (pull_request) Failing after 23m8s
Tests / test (3.8) (pull_request) Failing after 23m8s
Tests / test (3.9) (pull_request) Failing after 23m10s
2024-03-26 16:32:59 +02:00
3031a65697 Update dependency black to v23.12.1
Some checks failed
Tests / test (3.10) (pull_request) Failing after 23m10s
Tests / test (3.11) (pull_request) Failing after 23m35s
Tests / test (3.8) (pull_request) Failing after 23m33s
Tests / test (3.9) (pull_request) Failing after 23m10s
2024-03-26 16:32:57 +02:00
ca22cb0cbe Merge pull request 'Update dependency build to v1.1.1' (#8) from renovate/build-1.x into dev
Some checks failed
Tests / test (3.10) (push) Failing after 23m11s
Tests / test (3.11) (push) Failing after 23m16s
Tests / test (3.8) (push) Failing after 23m10s
Tests / test (3.9) (push) Failing after 23m8s
Reviewed-on: #8
2024-03-26 15:36:09 +02:00
2717835ed8 Update dependency build to v1.1.1
Some checks failed
Tests / test (3.11) (pull_request) Has been cancelled
Tests / test (3.8) (pull_request) Has been cancelled
Tests / test (3.9) (pull_request) Has been cancelled
Tests / test (3.10) (pull_request) Has been cancelled
2024-03-26 15:30:27 +02: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
32 changed files with 177 additions and 84 deletions

View File

@@ -11,11 +11,11 @@ on:
jobs: jobs:
test: test:
runs-on: ubuntu-latest runs-on: ubuntu-latest-de
container: catthehacker/ubuntu:act-latest container: catthehacker/ubuntu:act-latest
strategy: strategy:
matrix: matrix:
python-version: ["3.8", "3.9", "3.10", "3.11"] python-version: ["3.9", "3.10", "3.11", "3.12"]
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3

1
.gitignore vendored
View File

@@ -154,6 +154,7 @@ cython_debug/
# Custom # Custom
.mise.toml
.vscode/ .vscode/
.venv_linux/ .venv_linux/
.venv_windows/ .venv_windows/

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

@@ -10,7 +10,7 @@ Small module that makes your journey with RMV REST API somehow easier. Based ful
## Requirements ## Requirements
* RMV API key (Get it [here](https://opendata.rmv.de/site/start.html)) * RMV API key (Get it [here](https://opendata.rmv.de/site/start.html))
* Python 3.8+ * Python 3.9+
* git (Only for installation from source) * git (Only for installation from source)
## Installation ## Installation

View File

@@ -9,18 +9,18 @@ authors = [{ name = "Profitroll", email = "profitroll@end-play.xyz" }]
maintainers = [{ name = "Profitroll", email = "profitroll@end-play.xyz" }] maintainers = [{ name = "Profitroll", email = "profitroll@end-play.xyz" }]
description = "Small module that makes your journey with RMV REST API somehow easier." description = "Small module that makes your journey with RMV REST API somehow easier."
readme = "README.md" readme = "README.md"
requires-python = ">=3.8" requires-python = ">=3.9"
license = { text = "GPL3" } license = { text = "MIT" }
classifiers = [ classifiers = [
"Development Status :: 3 - Alpha", "Development Status :: 3 - Alpha",
"Intended Audience :: Developers", "Intended Audience :: Developers",
"License :: OSI Approved :: MIT License", "License :: OSI Approved :: MIT License",
"Operating System :: OS Independent", "Operating System :: OS Independent",
"Programming Language :: Python :: 3", "Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Software Development :: Libraries :: Python Modules", "Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Utilities", "Topic :: Utilities",
] ]
@@ -38,13 +38,14 @@ dependencies = { file = "requirements/_.txt" }
[tool.setuptools.dynamic.optional-dependencies] [tool.setuptools.dynamic.optional-dependencies]
dev = { file = "requirements/dev.txt" } dev = { file = "requirements/dev.txt" }
dist = { file = "requirements/dist.txt" }
speed = { file = "requirements/speed.txt" } speed = { file = "requirements/speed.txt" }
[tool.setuptools.packages.find] [tool.setuptools.packages.find]
where = ["src"] where = ["src"]
[tool.black] [tool.black]
target-version = ['py38', 'py39', 'py310', 'py311'] target-version = ['py39', 'py310', 'py311', 'py312']
line-length = 94 line-length = 94
[tool.isort] [tool.isort]
@@ -64,7 +65,7 @@ show_error_codes = true
[tool.pylint.main] [tool.pylint.main]
extension-pkg-whitelist = ["ujson"] extension-pkg-whitelist = ["ujson"]
py-version = 3.8 py-version = 3.9
[tool.coverage.run] [tool.coverage.run]
source = ["pyrmv"] source = ["pyrmv"]

View File

@@ -1,3 +1,3 @@
requests~=2.31.0 requests~=2.32.3
xmltodict~=0.13.0 xmltodict~=0.14.0
isodate~=0.6.1 isodate~=0.7.0

View File

@@ -1,12 +1,12 @@
black==23.12.1 black~=25.1.0
build==1.0.3 isort==5.13.2
isort==5.12.0 mypy~=1.15.0
mypy==1.7.0 pylint==3.3.7,<3.4.0
pylint==3.0.2 pytest-cov~=6.1.0
pytest-asyncio==0.22.0 pytest~=8.3.2
pytest-cov==4.1.0 tox==4.25.0
pytest==7.4.4 types-ujson~=5.10.0.20240515
tox==4.11.3
twine==4.0.2 # Disabled async libraries for now
types-aiofiles==23.2.0.20240311 # types-aiofiles~=24.1.0.20240626
types-ujson==5.8.0.1 # pytest-asyncio~=0.24.0

2
requirements/dist.txt Normal file
View File

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

View File

@@ -1 +1 @@
ujson~=5.8.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" __name__ = "pyrmv"
__version__ = "0.4.0-rc.2" __version__ = "0.5.0"
__license__ = "MIT License" __license__ = "MIT License"
__author__ = "Profitroll" __author__ = "Profitroll"

View File

@@ -3,6 +3,7 @@ from .gis import Gis
from .journey import Journey from .journey import Journey
from .leg import Leg from .leg import Leg
from .message import Channel, Message, Url from .message import Channel, Message, Url
from .platform_type import PlatformType
from .stop import Stop, StopTrip from .stop import Stop, StopTrip
from .ticket import Ticket from .ticket import Ticket
from .trip import Trip from .trip import Trip

View File

@@ -1,10 +1,10 @@
from datetime import datetime from datetime import datetime
from typing import Any, List, Mapping, Union from typing import Any, List, Mapping, Union
from pyrmv.classes.journey import Journey from ..classes.journey import Journey
from pyrmv.classes.message import Message from ..classes.message import Message
from pyrmv.classes.stop import Stop from ..classes.stop import Stop
from pyrmv.utility import ref_upgrade from ..utility import ref_upgrade
class LineArrival: class LineArrival:

View File

@@ -1,7 +1,7 @@
from datetime import datetime, timedelta from datetime import datetime, timedelta
from typing import List, OrderedDict, Union from typing import List, OrderedDict, Union
from pyrmv.classes import ( from ..classes import (
BoardArrival, BoardArrival,
BoardDeparture, BoardDeparture,
Journey, Journey,
@@ -10,7 +10,7 @@ from pyrmv.classes import (
StopTrip, StopTrip,
Trip, Trip,
) )
from pyrmv.enums import ( from ..enums import (
AffectedJourneyMode, AffectedJourneyMode,
AffectedJourneyStopMode, AffectedJourneyStopMode,
BoardArrivalType, BoardArrivalType,
@@ -22,15 +22,15 @@ from pyrmv.enums import (
SearchMode, SearchMode,
SelectionMode, SelectionMode,
) )
from pyrmv.raw import board_arrival as raw_board_arrival from ..raw import board_arrival as raw_board_arrival
from pyrmv.raw import board_departure as raw_board_departure from ..raw import board_departure as raw_board_departure
from pyrmv.raw import him_search as raw_him_search from ..raw import him_search as raw_him_search
from pyrmv.raw import journey_detail as raw_journey_detail from ..raw import journey_detail as raw_journey_detail
from pyrmv.raw import stop_by_coords as raw_stop_by_coords from ..raw import stop_by_coords as raw_stop_by_coords
from pyrmv.raw import stop_by_name as raw_stop_by_name from ..raw import stop_by_name as raw_stop_by_name
from pyrmv.raw import trip_find as raw_trip_find from ..raw import trip_find as raw_trip_find
from pyrmv.raw import trip_recon as raw_trip_recon from ..raw import trip_recon as raw_trip_recon
from pyrmv.utility import find_exception from ..utility import find_exception
try: try:
from typing import Literal from typing import Literal
@@ -150,7 +150,7 @@ class Client:
boardType=board_type.code, boardType=board_type.code,
) )
find_exception(board_raw) find_exception(board_raw.copy())
return BoardArrival( return BoardArrival(
board_raw, board_raw,
@@ -219,7 +219,7 @@ class Client:
boardType=board_type.code, boardType=board_type.code,
) )
find_exception(board_raw) find_exception(board_raw.copy())
return BoardDeparture( return BoardDeparture(
board_raw, board_raw,
@@ -343,7 +343,7 @@ class Client:
minprio=priority_min, minprio=priority_min,
) )
find_exception(messages_raw) find_exception(messages_raw.copy())
if "Message" in messages_raw: if "Message" in messages_raw:
messages.extend(Message(message) for message in messages_raw["Message"]) messages.extend(Message(message) for message in messages_raw["Message"])
@@ -402,7 +402,7 @@ class Client:
toIdx=to_index, toIdx=to_index,
) )
find_exception(journey_raw) find_exception(journey_raw.copy())
return Journey(journey_raw) return Journey(journey_raw)
@@ -481,7 +481,7 @@ class Client:
locationSelectionMode=selection_mode, # type: ignore locationSelectionMode=selection_mode, # type: ignore
) )
find_exception(stops_raw) find_exception(stops_raw.copy())
if "stopLocationOrCoordLocation" in stops_raw: if "stopLocationOrCoordLocation" in stops_raw:
for stop in stops_raw["stopLocationOrCoordLocation"]: for stop in stops_raw["stopLocationOrCoordLocation"]:
@@ -536,7 +536,7 @@ class Client:
accessId=self.access_id, inputString=query, lang=lang.code, maxNo=1 accessId=self.access_id, inputString=query, lang=lang.code, maxNo=1
) )
find_exception(stops_raw) find_exception(stops_raw.copy())
if len(stops_raw["stopLocationOrCoordLocation"]) <= 0: if len(stops_raw["stopLocationOrCoordLocation"]) <= 0:
return None return None
@@ -642,7 +642,7 @@ class Client:
filterMode=filter_mode.code, filterMode=filter_mode.code,
) )
find_exception(stops_raw) find_exception(stops_raw.copy())
if "stopLocationOrCoordLocation" in stops_raw: if "stopLocationOrCoordLocation" in stops_raw:
for stop in stops_raw["stopLocationOrCoordLocation"]: for stop in stops_raw["stopLocationOrCoordLocation"]:
@@ -833,7 +833,7 @@ class Client:
withFreq=frequency, withFreq=frequency,
) )
find_exception(trips_raw) find_exception(trips_raw.copy())
if "Trip" in trips_raw: if "Trip" in trips_raw:
trips.extend(Trip(trip) for trip in trips_raw["Trip"]) trips.extend(Trip(trip) for trip in trips_raw["Trip"])
@@ -913,7 +913,7 @@ class Client:
trafficMessages=messages, trafficMessages=messages,
) )
find_exception(trips_raw) find_exception(trips_raw.copy())
if "Trip" in trips_raw: if "Trip" in trips_raw:
trips.extend(Trip(trip) for trip in trips_raw["Trip"]) trips.extend(Trip(trip) for trip in trips_raw["Trip"])

View File

@@ -1,8 +1,8 @@
from typing import Any, List, Mapping, Union from typing import Any, List, Mapping, Union
from pyrmv.classes.message import Message from ..classes.message import Message
from pyrmv.classes.stop import Stop from ..classes.stop import Stop
from pyrmv.utility import ref_upgrade from ..utility import ref_upgrade
class Journey: class Journey:

View File

@@ -3,9 +3,9 @@ from typing import Any, List, Mapping, Union
from isodate import Duration, parse_duration from isodate import Duration, parse_duration
from pyrmv.classes.gis import Gis from ..classes.gis import Gis
from pyrmv.classes.message import Message from ..classes.message import Message
from pyrmv.classes.stop import StopTrip from ..classes.stop import StopTrip
class Leg: class Leg:

View File

@@ -3,7 +3,7 @@ from typing import Any, List, Mapping, Union
from isodate import Duration, parse_duration from isodate import Duration, parse_duration
from pyrmv.classes.stop import Stop from ..classes.stop import Stop
class Url: class Url:
@@ -59,9 +59,9 @@ class Message:
self.channels.extend(Channel(channel) for channel in data["channel"]) self.channels.extend(Channel(channel) for channel in data["channel"])
self.id: str = data["id"] self.id: str = data["id"]
self.active: bool = data["act"] self.active: bool = data["act"]
self.head: str = data["head"] self.head: str = "" if "head" not in data else data["head"]
self.lead: str = data["lead"] self.lead: str = "" if "lead" not in data else data["lead"]
self.text: str = data["text"] self.text: str = "" if "text" not in data else data["text"]
self.company: Union[str, None] = data.get("company") self.company: Union[str, None] = data.get("company")
self.category: Union[str, None] = data.get("category") self.category: Union[str, None] = data.get("category")
self.priority: Union[int, None] = data.get("priority") self.priority: Union[int, None] = data.get("priority")
@@ -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

View File

@@ -0,0 +1,17 @@
from typing import Any, Mapping, Union
from ..enums.platform_type_type import PlatformTypeType
class PlatformType:
"""Platform information."""
def __init__(self, data: Mapping[str, Any]):
self.type: PlatformTypeType = (
PlatformTypeType.U if "type" not in data else PlatformTypeType(data.get("type"))
)
self.text: Union[str, None] = data.get("text")
self.hidden: bool = bool(data.get("hidden"))
self.lon: float = data["lon"]
self.lat: float = data["lat"]
self.alt: int = data["alt"]

View File

@@ -3,8 +3,8 @@ from typing import List, Union
from isodate import Duration, parse_duration from isodate import Duration, parse_duration
from pyrmv.classes.leg import Leg from ..classes.leg import Leg
from pyrmv.classes.stop import StopTrip from ..classes.stop import StopTrip
class Trip: class Trip:
@@ -19,8 +19,10 @@ class Trip:
self.index: int = data["idx"] self.index: int = data["idx"]
self.id: str = data["tripId"] self.id: str = data["tripId"]
self.ctx_recon: str = data["ctxRecon"] self.ctx_recon: str = data["ctxRecon"]
self.duration: Union[Duration, timedelta] = parse_duration(data["duration"]) self.duration: Union[Duration, timedelta, None] = (
self.real_time_duration: Union[Duration, timedelta] = ( None if "duration" not in data else parse_duration(data["duration"])
)
self.real_time_duration: Union[Duration, timedelta, None] = (
None if "rtDuration" not in data else parse_duration(data["rtDuration"]) None if "rtDuration" not in data else parse_duration(data["rtDuration"])
) )
self.checksum: str = data["checksum"] self.checksum: str = data["checksum"]

View File

@@ -4,6 +4,7 @@ from .board_type import BoardArrivalType, BoardDepartureType
from .filter_mode import FilterMode from .filter_mode import FilterMode
from .lang import Language from .lang import Language
from .location_type import LocationType from .location_type import LocationType
from .platform_type_type import PlatformTypeType
from .product import Product from .product import Product
from .rt_mode import RealTimeMode from .rt_mode import RealTimeMode
from .search_mode import SearchMode from .search_mode import SearchMode

View File

@@ -3,7 +3,7 @@
from enum import Enum from enum import Enum
from pyrmv.const import PRODUCTS from ..const import PRODUCTS
class AutoName(Enum): class AutoName(Enum):

View File

@@ -0,0 +1,51 @@
from enum import Enum, auto
class PlatformTypeType(Enum):
"""Enumeration used to declare types of platform type.
* U - Undefined
* PL - Platform/track at train station
* ST - Stop at bus or tram station
* GA - Terminal/Gate at airport
* PI - Pier if ship or ferry
* SL - Slot/parking space if bike or car
* FL - Floor in buildings or at footpath
* CI - Check-in/entrance
* CO - Check-out/exit
* X - No explicit type
* H - Hide platform information
"""
U = auto()
"Undefined"
PL = auto()
"Platform/track at train station"
ST = auto()
"Stop at bus or tram station"
GA = auto()
"Terminal/Gate at airport"
PI = auto()
"Pier if ship or ferry"
SL = auto()
"Slot/parking space if bike or car"
FL = auto()
"Floor in buildings or at footpath"
CI = auto()
"Check-in/entrance"
CO = auto()
"Check-out/exit"
X = auto()
"No explicit type"
H = auto()
"Hide platform information"

View File

@@ -64,7 +64,7 @@ def board_arrival(
payload = {} payload = {}
headers = {"Accept": "application/json"} if json else {"Accept": "application/xml"} headers = {"Accept": "application/json"} if json else {"Accept": "application/xml"}
for var, val in locals().items(): for var, val in locals().copy().items():
if str(var) == "date": if str(var) == "date":
if val != None: if val != None:
if isinstance(val, datetime): if isinstance(val, datetime):

View File

@@ -65,7 +65,7 @@ def board_departure(
payload = {} payload = {}
headers = {"Accept": "application/json"} if json else {"Accept": "application/xml"} headers = {"Accept": "application/json"} if json else {"Accept": "application/xml"}
for var, val in locals().items(): for var, val in locals().copy().items():
if str(var) == "date": if str(var) == "date":
if val != None: if val != None:
if isinstance(val, datetime): if isinstance(val, datetime):

View File

@@ -4,7 +4,7 @@ from typing import OrderedDict, Union
from requests import get from requests import get
from xmltodict import parse as xmlparse from xmltodict import parse as xmlparse
from pyrmv.utility import weekdays_bitmask from ..utility import weekdays_bitmask
try: try:
from typing import Literal from typing import Literal
@@ -97,7 +97,7 @@ def him_search(
payload = {} payload = {}
headers = {"Accept": "application/json"} if json else {"Accept": "application/xml"} headers = {"Accept": "application/json"} if json else {"Accept": "application/xml"}
for var, val in locals().items(): for var, val in locals().copy().items():
if str(var) in {"dateB", "dateE"}: if str(var) in {"dateB", "dateE"}:
if val != None: if val != None:
if isinstance(val, datetime): if isinstance(val, datetime):

View File

@@ -55,7 +55,7 @@ def journey_detail(
payload = {} payload = {}
headers = {"Accept": "application/json"} if json else {"Accept": "application/xml"} headers = {"Accept": "application/json"} if json else {"Accept": "application/xml"}
for var, val in locals().items(): for var, val in locals().copy().items():
if str(var) == "rtMode": if str(var) == "rtMode":
if val != None: if val != None:
payload["rtMode"] = val.upper() payload["rtMode"] = val.upper()

View File

@@ -54,7 +54,7 @@ def stop_by_coords(
payload = {} payload = {}
headers = {"Accept": "application/json"} if json else {"Accept": "application/xml"} headers = {"Accept": "application/json"} if json else {"Accept": "application/xml"}
for var, val in locals().items(): for var, val in locals().copy().items():
if str(var) == "stopType": if str(var) == "stopType":
if val != None: if val != None:
payload["type"] = val.upper() payload["type"] = val.upper()

View File

@@ -65,7 +65,7 @@ def stop_by_name(
payload = {} payload = {}
headers = {"Accept": "application/json"} if json else {"Accept": "application/xml"} headers = {"Accept": "application/json"} if json else {"Accept": "application/xml"}
for var, val in locals().items(): for var, val in locals().copy().items():
if str(var) == "inputString": if str(var) == "inputString":
if val != None: if val != None:
payload["input"] = val payload["input"] = val

View File

@@ -201,7 +201,7 @@ def trip_find(
payload = {} payload = {}
headers = {"Accept": "application/json"} if json else {"Accept": "application/xml"} headers = {"Accept": "application/json"} if json else {"Accept": "application/xml"}
for var, val in locals().items(): for var, val in locals().copy().items():
if str(var) == "date": if str(var) == "date":
if val != None: if val != None:
if isinstance(val, datetime): if isinstance(val, datetime):

View File

@@ -87,7 +87,7 @@ def trip_recon(
payload = {} payload = {}
headers = {"Accept": "application/json"} if json else {"Accept": "application/xml"} headers = {"Accept": "application/json"} if json else {"Accept": "application/xml"}
for var, val in locals().items(): for var, val in locals().copy().items():
if str(var) == "date": if str(var) == "date":
if val != None: if val != None:
if isinstance(val, datetime): if isinstance(val, datetime):

View File

@@ -1,4 +1,4 @@
from pyrmv.errors import ( from ..errors import (
ApiAuthError, ApiAuthError,
ApiFormatError, ApiFormatError,
ApiParamError, ApiParamError,
@@ -26,6 +26,7 @@ from pyrmv.errors import (
SvcNoResultError, SvcNoResultError,
SvcProductError, SvcProductError,
SvcSearchError, SvcSearchError,
SvcParamError,
UnknownError, UnknownError,
) )
@@ -86,6 +87,9 @@ def find_exception(data: dict):
elif data["errorCode"] == "SVC_CTX": elif data["errorCode"] == "SVC_CTX":
raise SvcContextError() raise SvcContextError()
elif data["errorCode"] == "SVC_PARAM":
raise SvcParamError(errorCode=data["errorCode"], errorText=data["errorText"])
elif data["errorCode"] == "SVC_NO_RESULT": elif data["errorCode"] == "SVC_NO_RESULT":
raise SvcNoResultError() raise SvcNoResultError()

View File

@@ -20,9 +20,12 @@ def test_board_departure(api_client: Client, sample_stop_id: str):
def test_him_search(api_client: Client): def test_him_search(api_client: Client):
assert isinstance( response = api_client.him_search(time_end=datetime.now() + timedelta(days=10))
api_client.him_search(time_end=datetime.now() + timedelta(days=10))[0], Message
) if len(response) != 0:
assert isinstance(response[0], Message)
else:
assert isinstance(response, list)
def test_journey_detail(api_client: Client, sample_journey_id: str): def test_journey_detail(api_client: Client, sample_journey_id: str):

View File

@@ -1,14 +1,14 @@
[tox] [tox]
minversion = 3.8.0 minversion = 3.9.0
envlist = py38, py39, py310, py311 envlist = py39, py310, py311, py312
isolated_build = true isolated_build = true
[gh-actions] [gh-actions]
python = python =
3.8: py38
3.9: py39 3.9: py39
3.10: py310 3.10: py310
3.11: py311 3.11: py311
3.12: py312
[testenv] [testenv]
setenv = setenv =
@@ -21,4 +21,3 @@ deps =
-r{toxinidir}/requirements/speed.txt -r{toxinidir}/requirements/speed.txt
commands = commands =
pytest --basetemp={envtmpdir} --cov=pyrmv --cov-report term-missing pytest --basetemp={envtmpdir} --cov=pyrmv --cov-report term-missing