run black over stubs, add checking to travis

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

No files matched your search

+2 -7
View File
@@ -1,7 +1,6 @@
from typing import Any, Dict, Optional, Type, Union
from uuid import UUID
class IntConverter:
regex: str = ...
def to_python(self, value: str) -> int: ...
@@ -27,9 +26,5 @@ DEFAULT_CONVERTERS: Any
REGISTERED_CONVERTERS: Any
def register_converter(converter: Type[Any], type_name: str) -> None: ...
def get_converters() -> Dict[
str, Union[IntConverter, StringConverter, UUIDConverter]
]: ...
def get_converter(
raw_converter: str
) -> Union[IntConverter, StringConverter, UUIDConverter]: ...
def get_converters() -> Dict[str, Union[IntConverter, StringConverter, UUIDConverter]]: ...
def get_converter(raw_converter: str) -> Union[IntConverter, StringConverter, UUIDConverter]: ...