Skip to content

Commit 05de087

Browse files
llucaxCopilot
andauthored
Fix typo in warning message about type checking
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> Signed-off-by: Leandro Lucarella <luca-frequenz@llucax.com>
1 parent ef9f279 commit 05de087

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎src/frequenz/core/warnings/_deprecated_aliases.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ def deprecated_aliases( # noqa: DOC502
8080
Danger:
8181
Follow the usage example structure strictly. In particular never drop
8282
the `else:`, otherwise a type checker will see the `__getattr__`
83-
assignement and treat every symbol in the module as [`Any`][typing.Any],
83+
assignment and treat every symbol in the module as [`Any`][typing.Any],
8484
effectively disabling type checking for the entire module.
8585
8686
Example: Usage

0 commit comments

Comments
 (0)