Skip to content

Commit

Permalink
add stub for quieter linting with gettext
Browse files Browse the repository at this point in the history
  • Loading branch information
alfrix committed Jun 21, 2024
1 parent 9a1e1ba commit 6ea6473
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions __builtins__.pyi
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
from typing import Callable

def _(message: str) -> str: ...
def ngettext(singular: str, plural: str, n: int) -> str: ...

0 comments on commit 6ea6473

Please sign in to comment.