-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Complain non-existent attributes (#40)
* add bakery stub file * increase patch version * update pylint, mypy, isort * update action's versions: node16 is deprecated
- Loading branch information
Showing
6 changed files
with
82 additions
and
62 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# isort: skip_file | ||
from typing import Any, Dict, Type, TypeVar | ||
|
||
from .stuff import Cakeable | ||
|
||
T = TypeVar('T', bound='Bakery') | ||
|
||
class Bakery: | ||
__bakery_visitors__: int | ||
__bakery_items__: Dict[str, Cakeable[Any]] | ||
async def __aenter__(self: T) -> T: ... | ||
async def __aexit__(self, *_args: Any) -> None: ... | ||
@classmethod | ||
async def aopen(cls: Type[T]) -> T: ... | ||
@classmethod | ||
async def aclose( | ||
cls, | ||
*_args: Any, | ||
) -> None: ... |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters