mirror of
https://github.com/davidhalter/django-stubs.git
synced 2025-12-15 08:17:08 +08:00
run black over stubs, add checking to travis
This commit is contained in:
@@ -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: ...
|
||||
|
||||
Reference in New Issue
Block a user