mirror of
https://github.com/ets-labs/python-dependency-injector.git
synced 2025-07-18 03:52:19 +03:00
Fix PR issues
This commit is contained in:
parent
9622442e3e
commit
c6d82b015e
4
.flake8
Normal file
4
.flake8
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
[flake8]
|
||||||
|
exclude = .git,__pycache__,.venv,venv
|
||||||
|
per-file-ignores =
|
||||||
|
examples/*: F821
|
|
@ -1,2 +1,2 @@
|
||||||
[pydocstyle]
|
[pydocstyle]
|
||||||
ignore = D100,D101,D102,D103,D105,D107,D203,D213,F821
|
ignore = D100,D101,D102,D103,D105,D107,D203,D213
|
||||||
|
|
|
@ -1027,7 +1027,7 @@ def _get_sync_patched(fn: F, patched: PatchedCallable) -> F:
|
||||||
return cast(F, _patched)
|
return cast(F, _patched)
|
||||||
|
|
||||||
|
|
||||||
def _get_members_and_annotated(obj: Any) -> Iterable[tuple[str, Any]]:
|
def _get_members_and_annotated(obj: Any) -> Iterable[Tuple[str, Any]]:
|
||||||
members = inspect.getmembers(obj)
|
members = inspect.getmembers(obj)
|
||||||
try:
|
try:
|
||||||
annotations = inspect.get_annotations(obj)
|
annotations = inspect.get_annotations(obj)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user