mirror of
https://github.com/davidhalter/django-stubs.git
synced 2025-12-15 00:07:09 +08:00
run black over stubs, add checking to travis
This commit is contained in:
@@ -3,7 +3,6 @@ from typing import Any, Optional, Union
|
||||
from django.core.management.base import BaseCommand, CommandParser
|
||||
from django.db.models.fields import Field
|
||||
|
||||
|
||||
class NotRunningInTTYException(Exception): ...
|
||||
|
||||
class Command(BaseCommand):
|
||||
@@ -20,6 +19,4 @@ class Command(BaseCommand):
|
||||
stdin: Any = ...
|
||||
def execute(self, *args: Any, **options: Any) -> None: ...
|
||||
def handle(self, *args: Any, **options: Any) -> None: ...
|
||||
def get_input_data(
|
||||
self, field: Field, message: str, default: Optional[str] = ...
|
||||
) -> Optional[Union[int, str]]: ...
|
||||
def get_input_data(self, field: Field, message: str, default: Optional[str] = ...) -> Optional[Union[int, str]]: ...
|
||||
|
||||
Reference in New Issue
Block a user