Skip to content

Commit 25f8d37

Browse files
committed
Merge branch 'main' into bartosz/skip-local-inventory
2 parents 7145c15 + 864e528 commit 25f8d37

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ ci = [
9494
"pytest-randomly>=3.15",
9595
"pytest-xdist>=3.6",
9696
"beautifulsoup4>=4.12.3",
97-
"inline-snapshot>=0.18",
97+
"inline-snapshot>=0.25",
9898
"mypy>=1.10",
9999
"types-markdown>=3.6",
100100
"types-pyyaml>=6.0",

tests/test_end_to_end.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
import bs4
1010
import pytest
1111
from griffe import LinesCollection, ModulesCollection, TmpPackage, temporary_pypackage
12-
from inline_snapshot import outsource
12+
from inline_snapshot import outsource, register_format_alias
1313

1414
from tests.snapshots import snapshots_members, snapshots_signatures
1515

@@ -19,6 +19,9 @@
1919
from mkdocstrings_handlers.python import PythonHandler
2020

2121

22+
register_format_alias(".html", ".txt")
23+
24+
2225
def _normalize_html(html: str) -> str:
2326
soup = bs4.BeautifulSoup(html, features="html.parser")
2427
html = soup.prettify() # type: ignore[assignment]

0 commit comments

Comments
 (0)