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

@@ -2,7 +2,6 @@ from typing import Any, Optional
from django.core.management.base import BaseCommand, CommandParser
class TemplateCommand(BaseCommand):
requires_system_checks: bool = ...
url_schemes: Any = ...
@@ -11,13 +10,7 @@ class TemplateCommand(BaseCommand):
app_or_project: Any = ...
paths_to_remove: Any = ...
verbosity: Any = ...
def handle(
self,
app_or_project: Any,
name: Any,
target: Optional[Any] = ...,
**options: Any
): ...
def handle(self, app_or_project: Any, name: Any, target: Optional[Any] = ..., **options: Any): ...
def handle_template(self, template: Any, subdir: Any): ...
def validate_name(self, name: Any, app_or_project: Any) -> None: ...
def download(self, url: Any): ...