Skip to content

Commit 8c156fb

Browse files
[pre-commit.ci] pre-commit autoupdate (#532)
* [pre-commit.ci] pre-commit autoupdate updates: - [github.com/astral-sh/ruff-pre-commit: v0.1.9 → v0.3.2](astral-sh/ruff-pre-commit@v0.1.9...v0.3.2) - [github.com/psf/black: 23.12.1 → 24.2.0](psf/black@23.12.1...24.2.0) * [pre-commit.ci] auto fixes from pre-commit.com hooks --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent c09395d commit 8c156fb

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,12 @@ repos:
1313
- id: check-merge-conflict
1414
- id: end-of-file-fixer
1515
- repo: https://github.com/astral-sh/ruff-pre-commit
16-
rev: v0.1.9
16+
rev: v0.3.2
1717
hooks:
1818
- id: ruff
1919
args: ["--fix", "--exit-non-zero-on-fix"]
2020
- repo: https://github.com/psf/black
21-
rev: 23.12.1
21+
rev: 24.2.0
2222
hooks:
2323
- id: black
2424

rest_framework-stubs/serializers.pyi

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -202,6 +202,7 @@ class ModelSerializer(Serializer, BaseSerializer[_MT]):
202202
exclude: Sequence[str] | None
203203
depth: int | None
204204
extra_kwargs: dict[str, dict[str, Any]]
205+
205206
def __init__(
206207
self,
207208
instance: None | _MT | Sequence[_MT] | QuerySet[_MT] | Manager[_MT] = ...,

0 commit comments

Comments
 (0)