mirror of
https://github.com/davidhalter/django-stubs.git
synced 2025-12-10 14:01:56 +08:00
run black over stubs, add checking to travis
This commit is contained in:
@@ -1,15 +1,12 @@
|
||||
from typing import Any, Dict, Iterator, List, Optional, Tuple
|
||||
|
||||
|
||||
class Tok:
|
||||
num: int = ...
|
||||
id: int = ...
|
||||
name: str = ...
|
||||
regex: str = ...
|
||||
next: Optional[str] = ...
|
||||
def __init__(
|
||||
self, name: str, regex: str, next: Optional[str] = ...
|
||||
) -> None: ...
|
||||
def __init__(self, name: str, regex: str, next: Optional[str] = ...) -> None: ...
|
||||
|
||||
def literals(choices: str, prefix: str = ..., suffix: str = ...) -> str: ...
|
||||
|
||||
|
||||
Reference in New Issue
Block a user