mirror of
https://github.com/davidhalter/django-stubs.git
synced 2025-12-15 16:27:09 +08:00
run black over stubs, add checking to travis
This commit is contained in:
@@ -2,12 +2,9 @@ from typing import Any, Optional
|
||||
|
||||
from django.http.request import HttpRequest
|
||||
|
||||
|
||||
class RequestSite:
|
||||
name: str
|
||||
domain: str = ...
|
||||
def __init__(self, request: HttpRequest) -> None: ...
|
||||
def save(
|
||||
self, force_insert: bool = ..., force_update: bool = ...
|
||||
) -> Any: ...
|
||||
def save(self, force_insert: bool = ..., force_update: bool = ...) -> Any: ...
|
||||
def delete(self) -> Any: ...
|
||||
|
||||
Reference in New Issue
Block a user