mirror of
https://github.com/ets-labs/python-dependency-injector.git
synced 2025-02-04 21:50:51 +03:00
Fix few typos
This commit is contained in:
parent
ffc477d1ee
commit
203427aa97
|
@ -78,6 +78,7 @@ Key features of the ``Dependency Injector``:
|
||||||
and dictionaries. See :ref:`configuration-provider`.
|
and dictionaries. See :ref:`configuration-provider`.
|
||||||
- **Containers**. Provides declarative and dynamic containers. See :ref:`containers`.
|
- **Containers**. Provides declarative and dynamic containers. See :ref:`containers`.
|
||||||
- **Performance**. Fast. Written in ``Cython``.
|
- **Performance**. Fast. Written in ``Cython``.
|
||||||
|
- **Typing**. Provides typing stubs, ``mypy``-friendly.
|
||||||
- **Maturity**. Mature and production-ready. Well-tested, documented and supported.
|
- **Maturity**. Mature and production-ready. Well-tested, documented and supported.
|
||||||
|
|
||||||
.. code-block:: python
|
.. code-block:: python
|
||||||
|
|
|
@ -210,7 +210,7 @@ Dependency injection brings you 3 advantages:
|
||||||
- **Testability**. Testing is easy because you can easily inject mocks instead of real objects
|
- **Testability**. Testing is easy because you can easily inject mocks instead of real objects
|
||||||
that use API or database, etc.
|
that use API or database, etc.
|
||||||
- **Clearness and maintainability**. Dependency injection helps you reveal the dependencies.
|
- **Clearness and maintainability**. Dependency injection helps you reveal the dependencies.
|
||||||
Implicit becomes explicit. And "Explicit is better than implicit" (PEP20 - The Zen of Python).
|
Implicit becomes explicit. And "Explicit is better than implicit" (PEP 20 - The Zen of Python).
|
||||||
You have all the components and dependencies defined explicitly in the container. This
|
You have all the components and dependencies defined explicitly in the container. This
|
||||||
provides an overview and control on the application structure. It is easy to understand and
|
provides an overview and control on the application structure. It is easy to understand and
|
||||||
change it.
|
change it.
|
||||||
|
|
|
@ -20,6 +20,7 @@ Key features of the ``Dependency Injector``:
|
||||||
and dictionaries. See :ref:`configuration-provider`.
|
and dictionaries. See :ref:`configuration-provider`.
|
||||||
- **Containers**. Provides declarative and dynamic containers. See :ref:`containers`.
|
- **Containers**. Provides declarative and dynamic containers. See :ref:`containers`.
|
||||||
- **Performance**. Fast. Written in ``Cython``.
|
- **Performance**. Fast. Written in ``Cython``.
|
||||||
|
- **Typing**. Provides typing stubs, ``mypy``-friendly.
|
||||||
- **Maturity**. Mature and production-ready. Well-tested, documented and supported.
|
- **Maturity**. Mature and production-ready. Well-tested, documented and supported.
|
||||||
|
|
||||||
The framework stands on two principles:
|
The framework stands on two principles:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user