Feature: 添加 get_adapter 类型 overload (#1755)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
This commit is contained in:
Ju4tCode
2023-02-28 14:46:09 +08:00
committed by GitHub
parent 317a2b8c9b
commit d0f832c4cd
4 changed files with 92 additions and 81 deletions

View File

@ -1,9 +1,12 @@
[report]
exclude_lines =
pragma: no cover
def __repr__
def __str__
pragma: no cover
if TYPE_CHECKING:
@(typing\.)?overload
if (typing\.)?TYPE_CHECKING( is True)?:
@(abc\.)?abstractmethod
raise NotImplementedError
\.\.\.
pass
if __name__ == .__main__.: