You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Better argument validation for python *gettext functions #1002
*gettext calls should be properly validated for the correct number/type of arguments and an error/warning should be issued if the signature does not match.
Some examples which currently produce po file entries w/o any errors/warnings:
gettext(some_arg="hello") - gettext takes only one positional argument gettext("hello", "asdad") - same for this ngettext("asd", "sdfsdfsd") - missing n argument
These should either be errors or at least warnings as they will result in runtime errors.
Activity