mirror of
https://github.com/home-assistant/core.git
synced 2025-08-04 19:18:20 +00:00
Stale doc strings
This commit is contained in:
parent
a9a2e189ba
commit
35926344ea
@ -22,11 +22,11 @@ class HassEnforceGreekMicroCharChecker(BaseChecker):
|
|||||||
options = ()
|
options = ()
|
||||||
|
|
||||||
def visit_annassign(self, node: nodes.AnnAssign) -> None:
|
def visit_annassign(self, node: nodes.AnnAssign) -> None:
|
||||||
"""Check for sorted PLATFORMS const with type annotations."""
|
"""Check for micro char const or StrEnum with type annotations."""
|
||||||
self._do_micro_check(node.target, node)
|
self._do_micro_check(node.target, node)
|
||||||
|
|
||||||
def visit_assign(self, node: nodes.Assign) -> None:
|
def visit_assign(self, node: nodes.Assign) -> None:
|
||||||
"""Check for sorted PLATFORMS const without type annotations."""
|
"""Check for micro char const without type annotations."""
|
||||||
for target in node.targets:
|
for target in node.targets:
|
||||||
self._do_micro_check(target, node)
|
self._do_micro_check(target, node)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user