Bump pylint from 2.17.7 to 3.0.1 (#562)

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: J. Nick Koston <nick@koston.org>
This commit is contained in:
dependabot[bot] 2023-10-12 09:14:56 -10:00 committed by GitHub
parent 7980afbe70
commit 749c2d0007
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 5 deletions

View File

@ -95,7 +95,9 @@ class APIModelBase:
def converter_field(*, converter: Callable[[Any], _V], **kwargs: Any) -> _V:
metadata = kwargs.pop("metadata", {})
metadata["converter"] = converter
return cast(_V, field(metadata=metadata, **kwargs))
return cast(
_V, field(metadata=metadata, **kwargs) # pylint: disable=invalid-field-call
)
@dataclass(frozen=True, order=True)
@ -450,7 +452,7 @@ class CameraInfo(EntityInfo):
@_frozen_dataclass_decorator
class CameraState(EntityState):
data: bytes = field(default_factory=bytes)
data: bytes = field(default_factory=bytes) # pylint: disable=invalid-field-call
# ==================== CLIMATE ====================
@ -972,7 +974,7 @@ class BluetoothGATTRead(APIModelBase):
address: int = 0
handle: int = 0
data: bytes = field(default_factory=bytes)
data: bytes = field(default_factory=bytes) # pylint: disable=invalid-field-call
@_frozen_dataclass_decorator
@ -1042,7 +1044,9 @@ class BluetoothGATTServices(APIModelBase):
@_frozen_dataclass_decorator
class ESPHomeBluetoothGATTServices:
address: int = 0
services: list[BluetoothGATTService] = field(default_factory=list)
services: list[BluetoothGATTService] = field( # pylint: disable=invalid-field-call
default_factory=list
)
@_frozen_dataclass_decorator

View File

@ -1,4 +1,4 @@
pylint==2.17.7
pylint==3.0.1
black==23.9.1
flake8==6.1.0
isort==5.12.0