add linting stubs with flake8-pyi and check for unused imports (#186)

This commit is contained in:
Maxim Kurnikov
2019-09-25 02:20:23 +03:00
committed by GitHub
parent 7407b93151
commit 963d50c717
91 changed files with 139 additions and 176 deletions

View File

@@ -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: ...