From 6ea64739bd651acb15ecf587704e6b12c346b6cb Mon Sep 17 00:00:00 2001 From: Alfredo Monclus Date: Fri, 21 Jun 2024 14:32:44 -0300 Subject: [PATCH] add stub for quieter linting with gettext --- __builtins__.pyi | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 __builtins__.pyi diff --git a/__builtins__.pyi b/__builtins__.pyi new file mode 100644 index 00000000..5f5f2241 --- /dev/null +++ b/__builtins__.pyi @@ -0,0 +1,5 @@ +from typing import Callable + +def _(message: str) -> str: ... +def ngettext(singular: str, plural: str, n: int) -> str: ... +