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

@@ -3,12 +3,9 @@ from typing import Any, List, Optional
from django.template.base import Origin, Template
from django.template.engine import Engine
class Loader:
engine: Any = ...
def __init__(self, engine: Engine) -> None: ...
def get_template(
self, template_name: str, skip: Optional[List[Origin]] = ...
) -> Template: ...
def get_template(self, template_name: str, skip: Optional[List[Origin]] = ...) -> Template: ...
def get_template_sources(self, template_name: Any) -> None: ...
def reset(self) -> None: ...