Path to this page:
Subject: CVS commit: pkgsrc/devel/py-inline-snapshot
From: Adam Ciarcinski
Date: 2025-01-14 09:38:21
Message id: 20250114083821.17EE5FC1D@cvs.NetBSD.org
Log Message:
py-inline-snapshot: updated to 0.19.1
0.19.1 — 2025-01-12
Added
- added the optional `inline-snapshot[dirty-equals]` dependency to depend on the \
dirty-equals version which works in combination with inline-snapshot.
Fixed
- snapshots with pydantic models can now be compared multiple times
``` python
class A(BaseModel):
a: int
def test_something():
for _ in [1, 2]:
assert A(a=1) == snapshot(A(a=1))
```
0.19.0 — 2025-01-10
Added
- You can now specify which tool you want to use to format your code by setting \
a `format-command` in your \
[configuration](https://15r10nk.github.io/inline-snapshot/latest/configuration/#format-command).
Changed
- **BREAKING-CHANGE** you have to install `inline-snapshot[black]` now if you \
want to format your code like in the previous versions. This option is not \
required if you use a `format-command`.
Fixed
- Load default config values even if `[tool.inline-snapshot]` is missing.
This makes the documented default shortcuts `--review` and `--fix` work.
Files: