Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 896c667

Browse files
tiangoloblack-redoc
authored andcommitted
➕ Add inline-snapshot for tests (fastapi#12189)
1 parent d4bf34b commit 896c667

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

pyproject.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -241,3 +241,7 @@ known-third-party = ["fastapi", "pydantic", "starlette"]
241241
[tool.ruff.lint.pyupgrade]
242242
# Preserve types, even if a file imports `from __future__ import annotations`.
243243
keep-runtime-typing = true
244+
245+
[tool.inline-snapshot]
246+
# default-flags=["fix"]
247+
# default-flags=["create"]

requirements-tests.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ anyio[trio] >=3.2.1,<4.0.0
1414
PyJWT==2.8.0
1515
pyyaml >=5.3.1,<7.0.0
1616
passlib[bcrypt] >=1.7.2,<2.0.0
17-
17+
inline-snapshot==0.13.0
1818
# types
1919
types-ujson ==5.7.0.1
2020
types-orjson ==3.6.2

0 commit comments

Comments
 (0)