Skip to content

Commit

Permalink
Removed deprecated 'no-self-use' pylint check
Browse files Browse the repository at this point in the history
  • Loading branch information
joro75 committed Nov 12, 2023
1 parent e551659 commit c4c8a1a
Show file tree
Hide file tree
Showing 9 changed files with 0 additions and 18 deletions.
2 changes: 0 additions & 2 deletions tests/test_hvac.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@

from mytoyota.models.hvac import Hvac

# pylint: disable=no-self-use


class TestHvac:
"""pytest functions to test Hvac"""
Expand Down
2 changes: 0 additions & 2 deletions tests/test_myt.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@
)
from mytoyota.models.trip import DetailedTrip, Trip, TripEvent

# pylint: disable=no-self-use


class OfflineController:
"""Provides a Controller class that can be used for testing."""
Expand Down
2 changes: 0 additions & 2 deletions tests/test_myt_online.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@
from mytoyota.client import MyT
from mytoyota.exceptions import ToyotaLoginError

# pylint: disable=no-self-use


class TestMyTOnline:
"""pytest functions to test MyT using the online services"""
Expand Down
2 changes: 0 additions & 2 deletions tests/test_parking_location.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@

from mytoyota.models.location import ParkingLocation # pylint: disable=import-error

# pylint: disable=no-self-use


class TestParkingLocation:
"""pytest functions to test ParkingLocation"""
Expand Down
2 changes: 0 additions & 2 deletions tests/test_sensors.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@
Windows,
)

# pylint: disable=no-self-use


class TestSensors: # pylint: disable=too-many-public-methods
"""pytest functions to test Sensors"""
Expand Down
2 changes: 0 additions & 2 deletions tests/test_statistics.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@

from mytoyota.statistics import Statistics

# pylint: disable=no-self-use


class TestStatistics:
"""pytest functions to test Statistics"""
Expand Down
2 changes: 0 additions & 2 deletions tests/test_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@
import pytest

from mytoyota.exceptions import ToyotaInvalidToken

# pylint: disable=no-self-use
from mytoyota.utils.conversions import (
convert_to_liter_per_100_miles,
convert_to_miles,
Expand Down
2 changes: 0 additions & 2 deletions tests/test_utils_logs.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@

from mytoyota.utils.logs import censor, censor_dict, censor_vin

# pylint: disable=no-self-use


class TestLogUtilities:
"""pytest functions for testing logs"""
Expand Down
2 changes: 0 additions & 2 deletions tests/test_vehicle.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@
from mytoyota.models.sensors import Sensors
from mytoyota.models.vehicle import Vehicle

# pylint: disable=no-self-use


class TestVehicle:
"""pytest functions for Vehicle object"""
Expand Down

0 comments on commit c4c8a1a

Please sign in to comment.