run black over stubs, add checking to travis

This commit is contained in:
Maxim Kurnikov
2018-12-03 18:52:44 +03:00
parent d5bc7d4ab2
commit cf6119bf9b
420 changed files with 2295 additions and 8384 deletions

View File

@@ -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: ...