Skip to content

Commit 71a9bd5

Browse files
committed
use admon patch until KyleKing/mdformat-admon#22
1 parent b0a1dd0 commit 71a9bd5

File tree

4 files changed

+11
-7
lines changed

4 files changed

+11
-7
lines changed

.github/workflows/check.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
runs-on: ubuntu-latest
1111
strategy:
1212
matrix:
13-
python-version: ["3.11", "3.12", "3.13"]
13+
python-version: ['3.11', '3.12', '3.13']
1414
steps:
1515
- uses: actions/checkout@v4
1616
- name: Set up Python ${{ matrix.python-version }}
@@ -60,7 +60,7 @@ jobs:
6060
- name: Set up Python
6161
uses: actions/setup-python@v5
6262
with:
63-
python-version: "3.12"
63+
python-version: '3.12'
6464
- name: Install UV
6565
run: curl -LsSf https://astral.sh/uv/install.sh | sh
6666
- name: Check coverage

docs/src/concepts.md

+3
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@ def get_message(*, recipient: Recipient = required) -> str:
9696
```
9797

9898
!!! warning
99+
99100
Don't forget to add the `required` default value. Without it, PyBooster will not
100101
know that the argument is a dependency that needs to be injected.
101102

@@ -424,6 +425,7 @@ with solution(sqlite_connection.bind(":memory:")):
424425
```
425426

426427
!!! note
428+
427429
Bindable parameters are not allowed to be dependencies.
428430

429431
### Generic Providers
@@ -533,6 +535,7 @@ with solution(config_file_provider.bind(Config, json_file)):
533535
```
534536

535537
!!! tip
538+
536539
This approach also works great for a provider that has `overload` implementations.
537540

538541
### Singleton Providers

pyproject.toml

+1
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ docs = [
4545
]
4646
lint = [
4747
{ include-group = "test" },
48+
"mdformat-admon @ git+https://github.com/rmorshea/mdformat-admon.git@0e513d7a2c265faf74441938ccbd1010660609f4",
4849
"mdformat-mkdocs==3.1.1",
4950
"mdformat-pyproject==0.0.1",
5051
"mdformat-ruff==0.1.3",

uv.lock

+5-5
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)