Move overlapping pylint rules to ruff, disable mypy overlap (#94359)

This commit is contained in:
Franck Nijhof 2023-06-27 17:42:46 +02:00 committed by GitHub
parent 7c676c0a7d
commit 3e85a29b86
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
88 changed files with 537 additions and 357 deletions

View file

@ -129,9 +129,8 @@ class WorxLandroidSensor(SensorEntity):
elif self.sensor == "state":
self._state = self.get_state(data)
else:
if self.sensor == "error":
self._state = "no"
elif self.sensor == "error":
self._state = "no"
@staticmethod
def get_error(obj):