Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Feb 12, 2024
1 parent 28e9552 commit 456ba15
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 3 deletions.
6 changes: 3 additions & 3 deletions subarulink/controller.py
Original file line number Diff line number Diff line change
Expand Up @@ -954,9 +954,9 @@ def _parse_vehicle(self, vehicle: dict[str, Any]) -> None:
sc.VEHICLE_LAST_UPDATE: datetime(1980, 1, 2, 1, 0, 0),
}
)
self._vehicles[vin][sc.VEHICLE_HEALTH][
sc.HEALTH_RECOMMENDED_TIRE_PRESSURE
] = self._parse_recommended_tire_pressure(vin)
self._vehicles[vin][sc.VEHICLE_HEALTH][sc.HEALTH_RECOMMENDED_TIRE_PRESSURE] = (
self._parse_recommended_tire_pressure(vin)
)

async def _remote_query(self, vin: str, cmd: str) -> dict[str, Any]:
tries_left = 2
Expand Down
1 change: 1 addition & 0 deletions tests/api_responses.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Subaru API responses used for tests."""

from copy import deepcopy
import json

Expand Down
1 change: 1 addition & 0 deletions tests/conftest.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Common helper functions to test subarulink."""

import asyncio
from datetime import datetime, timedelta
import json
Expand Down
1 change: 1 addition & 0 deletions tests/test_cli.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Tests for subarulink CLI."""

import asyncio
import sys
from unittest.mock import patch
Expand Down
1 change: 1 addition & 0 deletions tests/test_connection.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Tests for subarulink connection functions."""

import asyncio
import time

Expand Down
1 change: 1 addition & 0 deletions tests/test_remote_commands.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Tests for subarulink remote commands."""

import asyncio
import time

Expand Down
1 change: 1 addition & 0 deletions tests/test_vehicle_status.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Tests for subarulink vehicle status functions."""

import asyncio

import pytest
Expand Down

0 comments on commit 456ba15

Please sign in to comment.