mirror of
https://github.com/davidhalter/django-stubs.git
synced 2025-12-24 04:41:31 +08:00
reformat with black
This commit is contained in:
@@ -1,11 +1,7 @@
|
||||
from django.core.management.base import CommandParser
|
||||
from django.db.models.fields import CharField
|
||||
from django.db.models.fields.related import ForeignKey
|
||||
from typing import (
|
||||
Optional,
|
||||
Union,
|
||||
)
|
||||
|
||||
from typing import Optional, Union
|
||||
|
||||
class Command:
|
||||
def __init__(self, *args, **kwargs) -> None: ...
|
||||
@@ -15,6 +11,6 @@ class Command:
|
||||
self,
|
||||
field: Union[CharField, related.ForeignKey],
|
||||
message: str,
|
||||
default: Optional[str] = ...
|
||||
default: Optional[str] = ...,
|
||||
) -> Optional[str]: ...
|
||||
def handle(self, *args, **options) -> None: ...
|
||||
def handle(self, *args, **options) -> None: ...
|
||||
|
||||
Reference in New Issue
Block a user