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:
parent
9a75019a65
commit
2956eb0902
170 changed files with 163 additions and 288 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue