mirror of
https://github.com/davidhalter/django-stubs.git
synced 2025-12-10 05:51:53 +08:00
run black over stubs, add checking to travis
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
from typing import Any, Optional
|
||||
|
||||
|
||||
def gettext(message: Any): ...
|
||||
|
||||
gettext_noop = gettext
|
||||
@@ -23,6 +22,4 @@ def get_language_bidi() -> bool: ...
|
||||
def check_for_language(x: str) -> bool: ...
|
||||
def get_language_from_request(request: None, check_path: bool = ...) -> str: ...
|
||||
def get_language_from_path(request: str) -> None: ...
|
||||
def get_supported_language_variant(
|
||||
lang_code: str, strict: bool = ...
|
||||
) -> str: ...
|
||||
def get_supported_language_variant(lang_code: str, strict: bool = ...) -> str: ...
|
||||
|
||||
Reference in New Issue
Block a user