mirror of
https://github.com/davidhalter/django-stubs.git
synced 2025-12-08 21:14:49 +08:00
run black over stubs, add checking to travis
This commit is contained in:
@@ -8,10 +8,7 @@ request_logger: Any
|
||||
DEFAULT_LOGGING: Any
|
||||
|
||||
def configure_logging(
|
||||
logging_config: str,
|
||||
logging_settings: Dict[
|
||||
str, Union[Dict[str, Dict[str, Union[List[str], bool, str]]], int]
|
||||
],
|
||||
logging_config: str, logging_settings: Dict[str, Union[Dict[str, Dict[str, Union[List[str], bool, str]]], int]]
|
||||
) -> None: ...
|
||||
|
||||
class AdminEmailHandler(logging.Handler):
|
||||
@@ -21,13 +18,9 @@ class AdminEmailHandler(logging.Handler):
|
||||
lock: _thread.RLock
|
||||
include_html: bool = ...
|
||||
email_backend: Optional[str] = ...
|
||||
def __init__(
|
||||
self, include_html: bool = ..., email_backend: None = ...
|
||||
) -> None: ...
|
||||
def __init__(self, include_html: bool = ..., email_backend: None = ...) -> None: ...
|
||||
def emit(self, record: LogRecord) -> None: ...
|
||||
def send_mail(
|
||||
self, subject: str, message: str, *args: Any, **kwargs: Any
|
||||
) -> None: ...
|
||||
def send_mail(self, subject: str, message: str, *args: Any, **kwargs: Any) -> None: ...
|
||||
def connection(self) -> EmailBackend: ...
|
||||
def format_subject(self, subject: str) -> str: ...
|
||||
|
||||
|
||||
Reference in New Issue
Block a user