Skip to content

Commit

Permalink
docs: fix typos and highlighting
Browse files Browse the repository at this point in the history
  • Loading branch information
adriangb committed Oct 11, 2021
1 parent 7da5932 commit 833ef15
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ PACKAGE_VERSION = $(shell poetry version -s | cut -d+ -f1)
.install-poetry:
@echo "---- 👷 Installing build dependencies ----"
deactivate > /dev/null 2>&1 || true
pip install -U pip wheel
pip install -U wheel
poetry -V || pip install -U --pre poetry
touch .install-poetry

Expand Down
2 changes: 1 addition & 1 deletion docs/sharing.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ In `di`, we call this concept *dependency sharing*.

Dependencies are identfied by their callable provider.
This could be the constructor for a type or an arbitrary callable encapsulated using `Depends(...)`.
By default, dependencies are share, but this behavior can be changed on a per-dependency basis using the `share=False` parameter.
By default, dependencies are shared, but this behavior can be changed on a per-dependency basis using the `share=False` parameter.

```Python hl_lines="7-9"
--8<-- "docs/src/sharing.py"
Expand Down
2 changes: 1 addition & 1 deletion docs/solving.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ To disable scope checks (perhaps something reasonable to do in a web framework a

This can be used in conjunction with custom classes implementing the `DependantProtocol` to determine what headers or scopes an HTTP endpoint needs, amongst other uses:

```Python hl_lines="25-30 36-41"
```Python hl_lines="27-32 38-42"
--8<-- "docs/src/gather_deps_example.py"
```

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "di"
version = "0.14.0"
version = "0.14.1"
description = "Autowiring dependency injection"
authors = ["Adrian Garcia Badaracco <[email protected]>"]
readme = "README.md"
Expand Down

0 comments on commit 833ef15

Please sign in to comment.