mirror of https://github.com/tiangolo/fastapi.git
➕ Add inline-snapshot for tests (#12189)
This commit is contained in:
parent
212fd5e247
commit
24b8f2668b
|
|
@ -241,3 +241,7 @@ known-third-party = ["fastapi", "pydantic", "starlette"]
|
|||
[tool.ruff.lint.pyupgrade]
|
||||
# Preserve types, even if a file imports `from __future__ import annotations`.
|
||||
keep-runtime-typing = true
|
||||
|
||||
[tool.inline-snapshot]
|
||||
# default-flags=["fix"]
|
||||
# default-flags=["create"]
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@ anyio[trio] >=3.2.1,<4.0.0
|
|||
PyJWT==2.8.0
|
||||
pyyaml >=5.3.1,<7.0.0
|
||||
passlib[bcrypt] >=1.7.2,<2.0.0
|
||||
|
||||
inline-snapshot==0.13.0
|
||||
# types
|
||||
types-ujson ==5.7.0.1
|
||||
types-orjson ==3.6.2
|
||||
|
|
|
|||
Loading…
Reference in New Issue