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,7 +3,6 @@ from typing import Any, Dict, List, Optional
from django.core.files.storage import FileSystemStorage
from django.core.management.base import BaseCommand, CommandParser
class Command(BaseCommand):
stderr: django.core.management.base.OutputWrapper
stdout: django.core.management.base.OutputWrapper
@@ -31,12 +30,6 @@ class Command(BaseCommand):
def log(self, msg: str, level: int = ...) -> None: ...
def is_local_storage(self) -> bool: ...
def clear_dir(self, path: str) -> None: ...
def delete_file(
self, path: str, prefixed_path: str, source_storage: FileSystemStorage
) -> bool: ...
def link_file(
self, path: str, prefixed_path: str, source_storage: FileSystemStorage
) -> None: ...
def copy_file(
self, path: str, prefixed_path: str, source_storage: FileSystemStorage
) -> None: ...
def delete_file(self, path: str, prefixed_path: str, source_storage: FileSystemStorage) -> bool: ...
def link_file(self, path: str, prefixed_path: str, source_storage: FileSystemStorage) -> None: ...
def copy_file(self, path: str, prefixed_path: str, source_storage: FileSystemStorage) -> None: ...