Stale doc strings

This commit is contained in:
jbouwh 2025-05-21 06:04:18 +00:00
parent a9a2e189ba
commit 35926344ea

View File

@ -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)