chore: streamline CI linting steps and update changelog with recent changes

This commit is contained in:
bohd4nx
2026-03-20 20:25:35 +02:00
parent 75ee76b60e
commit 949796df17
2 changed files with 18 additions and 5 deletions
+1 -5
View File
@@ -24,11 +24,7 @@ jobs:
- run: uv pip install --system ".[dev]"
- run: ruff check .
- run: black --check . --target-version py312
- run: mypy pyfragment
- run: ruff check . && black --check . --target-version py312 && mypy pyfragment
test:
name: Tests
+17
View File
@@ -7,6 +7,23 @@ and this project uses [Calendar Versioning](https://calver.org/) (`YYYY.MINOR.MI
---
## [Unreleased]
### Added
- `timeout` parameter on `FragmentClient` (default `30.0` s) — passed through to every HTTP request
### Changed
- Cookie validation: narrowed type internally so no `# type: ignore` is needed in `FragmentClient.__init__`
- `WALLET_CLASSES` typed as `dict[str, Any]` so mypy resolves `from_mnemonic` correctly
- All four `examples/` files updated to `async with FragmentClient`, f-strings, and aligned error messages
- README usage section rewritten with a single comprehensive `async with` example
### Fixed
- mypy: missing return path in `process_transaction` after retry loop
- mypy: `cookies` union-attr error in `FragmentClient.__init__`
---
## [2026.0.1] — 2026-03-16
### Added