Skip to content

Commit 1e95abf

Browse files
chore(deps): Update Python dependencies with PDM (#270)
* chore(deps): Update pdm.lock Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * fix(api): resolve mypy errors in CreatableSlugRelatedField Fix type errors caused by updated DRF stubs where get_queryset() returns QuerySet | None. Also fix unreachable code: ObjectDoesNotExist was caught on a dict creation (which can never raise it) instead of on queryset.get(). --------- Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Nicolas LAFITTE <nicolas.lafitte@manomano.com>
1 parent b3e9448 commit 1e95abf

3 files changed

Lines changed: 576 additions & 572 deletions

File tree

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ repos:
2222
- id: fix-byte-order-marker
2323
# Versions must be kept in sync with lockfile (managed by sync-pre-commit-lock PDM plugin)
2424
- repo: https://github.com/astral-sh/ruff-pre-commit
25-
rev: 'v0.15.10'
25+
rev: 'v0.15.5'
2626
hooks:
2727
- id: ruff
2828
args: [--fix, --exit-non-zero-on-fix]

0 commit comments

Comments
 (0)