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

@@ -3,7 +3,6 @@ from typing import Any, Callable, List, Optional, Set, Union
from django.apps.config import AppConfig
from django.core.checks.messages import CheckMessage
class Tags:
admin: str = ...
caches: str = ...
@@ -19,25 +18,13 @@ class CheckRegistry:
registered_checks: Set[Callable] = ...
deployment_checks: Set[Callable] = ...
def __init__(self) -> None: ...
def register(
self,
check: Optional[Union[Callable, str]] = ...,
*tags: Any,
**kwargs: Any
) -> Callable: ...
def register(self, check: Optional[Union[Callable, str]] = ..., *tags: Any, **kwargs: Any) -> Callable: ...
def run_checks(
self,
app_configs: Optional[List[AppConfig]] = ...,
tags: Optional[List[str]] = ...,
include_deployment_checks: bool = ...,
self, app_configs: Optional[List[AppConfig]] = ..., tags: Optional[List[str]] = ..., include_deployment_checks: bool = ...
) -> Union[List[CheckMessage], List[int], List[str]]: ...
def tag_exists(
self, tag: str, include_deployment_checks: bool = ...
) -> bool: ...
def tag_exists(self, tag: str, include_deployment_checks: bool = ...) -> bool: ...
def tags_available(self, deployment_checks: bool = ...) -> Set[str]: ...
def get_checks(
self, include_deployment_checks: bool = ...
) -> List[Callable]: ...
def get_checks(self, include_deployment_checks: bool = ...) -> List[Callable]: ...
registry: Any
register: Any