Add preset options list to makemessages command. (#1091)

These options can be found here:

https://github.com/django/django/blob/0756c61f2ada56e4ae625589099c0141a77737eb/django/core/management/commands/makemessages.py#L222-L225

Signed-off-by: Zixuan James Li <p359101898@gmail.com>
This commit is contained in:
PIG208
2022-08-08 17:31:34 -04:00
committed by GitHub
parent db1edeeabf
commit 7b18e354f1
@@ -1,4 +1,4 @@
from typing import Any, Optional, Pattern, Type
from typing import Any, List, Optional, Pattern, Type
from django.core.management.base import BaseCommand
@@ -36,3 +36,7 @@ def write_pot_file(potfile: str, msgs: str) -> None: ...
class Command(BaseCommand):
translatable_file_class: Type[TranslatableFile] = ...
build_file_class: Type[BuildFile] = ...
msgmerge_options: List[str] = ...
msguniq_options: List[str] = ...
msgattrib_options: List[str] = ...
xgettext_options: List[str] = ...