Skip to content

Commit a477574

Browse files
committed
Minor cleanups
1 parent 7fa25ba commit a477574

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,12 +60,11 @@ jobs:
6060
- name: Run mypy
6161
run: |
6262
poetry run mypy src
63-
# Temporary until we fix all typing issues
64-
continue-on-error: true
6563
6664
- name: Lint with Ruff
6765
run: |
6866
poetry run ruff check . --output-format=github
67+
if: success() || failure()
6968

7069
- name: Lint with pylint
7170
run: |

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ classifiers = [
1313
"Operating System :: OS Independent",
1414
]
1515

16-
requires-python = "^3.11"
16+
requires-python = ">=3.11"
1717

1818
dependencies = [
1919
"pycryptodome (>=3.20.0,<4.0.0)",

src/saic_ismart_client_ng/api/message/schema.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ def message_time(self) -> datetime.datetime:
3636
for date_format in MESSAGE_DATE_TIME_FORMATS:
3737
try:
3838
return datetime.datetime.strptime(self.messageTime, date_format)
39-
except ValueError: # noqa: PERF203
39+
except ValueError:
4040
pass
4141
LOGGER.error(
4242
"Could not parse messageTime '%s'. This is a bug. Please file a ticket",

0 commit comments

Comments
 (0)