mirror of
https://github.com/davidhalter/django-stubs.git
synced 2025-12-30 16:14:25 +08:00
add linting stubs with flake8-pyi and check for unused imports (#186)
This commit is contained in:
@@ -38,5 +38,5 @@ def atomic(using: _C) -> _C: ...
|
||||
|
||||
# Decorator or context-manager with parameters
|
||||
@overload
|
||||
def atomic(using: Optional[str] = ..., savepoint: bool = True) -> Atomic: ...
|
||||
def atomic(using: Optional[str] = ..., savepoint: bool = ...) -> Atomic: ...
|
||||
def non_atomic_requests(using: Callable = ...) -> Callable: ...
|
||||
|
||||
Reference in New Issue
Block a user