Update pylint to 2.7.3 (#48488)

* Update pylint to 2.7.3

* Add class-const-naming-style

* Remove unused-import message

* Additional cleanup
This commit is contained in:
Marc Mueller 2021-03-30 06:02:56 +02:00 committed by GitHub
parent 9a75019a65
commit 2956eb0902
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
170 changed files with 163 additions and 288 deletions

View file

@ -150,7 +150,6 @@ def is_callback(func: Callable[..., Any]) -> bool:
@enum.unique
class HassJobType(enum.Enum):
# pylint: disable=invalid-name
"""Represent a job type."""
Coroutinefunction = 1
@ -196,7 +195,6 @@ def _get_callable_job_type(target: Callable) -> HassJobType:
class CoreState(enum.Enum):
# pylint: disable=invalid-name
"""Represent the current state of Home Assistant."""
not_running = "NOT_RUNNING"
@ -586,7 +584,6 @@ class Context:
class EventOrigin(enum.Enum):
# pylint: disable=invalid-name
"""Represent the origin of an event."""
local = "LOCAL"