Fix CI checks and Python 3.8 tests

This commit is contained in:
Roman Mogylatov 2025-05-21 13:11:20 -04:00
parent 3e5dffe9bb
commit 9622442e3e
2 changed files with 2 additions and 2 deletions

View File

@ -1,2 +1,2 @@
[pydocstyle]
ignore = D100,D101,D102,D103,D105,D107,D203,D213
ignore = D100,D101,D102,D103,D105,D107,D203,D213,F821

View File

@ -1027,7 +1027,7 @@ def _get_sync_patched(fn: F, patched: PatchedCallable) -> F:
return cast(F, _patched)
def _get_members_and_annotated(obj: Any) -> list[tuple[str, Any]]:
def _get_members_and_annotated(obj: Any) -> Iterable[tuple[str, Any]]:
members = inspect.getmembers(obj)
try:
annotations = inspect.get_annotations(obj)