Fix flake8 errors and update changelog

This commit is contained in:
Roman Mogylatov 2021-03-08 16:18:11 -05:00
parent 677857f215
commit 150fd1fed3
2 changed files with 7 additions and 1 deletions

View File

@ -7,6 +7,12 @@ that were made in every particular version.
From version 0.7.6 *Dependency Injector* framework strictly
follows `Semantic versioning`_
Development version
-------------------
- Fix wiring to not crash on missing signatures.
See issue: `#420 <https://github.com/ets-labs/python-dependency-injector/issues/420>`_.
Thanks to `@Balthus1989 <https://github.com/Balthus1989>`_ for reporting the issue.
4.29.1
------
- Fix recursive copying issue in ``Delegate`` provider.

View File

@ -481,7 +481,7 @@ def _unpatch_attribute(patched: PatchedAttribute) -> None:
setattr(patched.member, patched.name, patched.marker)
def _fetch_reference_injections(
def _fetch_reference_injections( # noqa: C901
fn: Callable[..., Any],
) -> Tuple[Dict[str, Any], Dict[str, Any]]:
# Hotfix, see: