mirror of
https://github.com/davidhalter/django-stubs.git
synced 2026-10-25 23:27:38 +08:00
run black over stubs, add checking to travis
This commit is contained in:
1 parent
d5bc7d4ab2
commit
cf6119bf9b
420 files changed
+2295
-8384
No files matched your search
@@ -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