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:
@@ -1,16 +1,12 @@
|
||||
from typing import Any, Optional
|
||||
|
||||
from django.core.mail.backends.console import \
|
||||
EmailBackend as ConsoleEmailBackend
|
||||
from django.core.mail.backends.console import EmailBackend as ConsoleEmailBackend
|
||||
from django.core.mail.message import EmailMessage
|
||||
|
||||
|
||||
class EmailBackend(ConsoleEmailBackend):
|
||||
fail_silently: bool
|
||||
file_path: str = ...
|
||||
def __init__(
|
||||
self, *args: Any, file_path: Optional[Any] = ..., **kwargs: Any
|
||||
) -> None: ...
|
||||
def __init__(self, *args: Any, file_path: Optional[Any] = ..., **kwargs: Any) -> None: ...
|
||||
def write_message(self, message: EmailMessage) -> None: ...
|
||||
stream: None = ...
|
||||
def open(self) -> bool: ...
|
||||
|
||||
Reference in New Issue
Block a user