diff --git a/aiogram_i18n/utils/stub_tree.py b/aiogram_i18n/utils/stub_tree.py index af90ef2..d4ea8d3 100644 --- a/aiogram_i18n/utils/stub_tree.py +++ b/aiogram_i18n/utils/stub_tree.py @@ -89,9 +89,7 @@ def __str__(self) -> str: if params and self.kw_only: params.insert(0, "*") params.insert(0, "self") - return ( - f"def {self.name.replace('-', '_')}({', '.join(params)}) -> str: ..." - ) + return f"def {self.name.replace('-', '_')}({', '.join(params)}) -> str: ..." __repr__ = __str__