Browse Source

Add inline-snapshot for tests (#12189)

pull/12195/head
Sebastián Ramírez 7 months ago
committed by GitHub
parent
commit
24b8f2668b
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 4
      pyproject.toml
  2. 2
      requirements-tests.txt

4
pyproject.toml

@ -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"]

2
requirements-tests.txt

@ -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…
Cancel
Save