Skip to content

Commit

Permalink
[pre-commit.ci] pre-commit autoupdate (#634)
Browse files Browse the repository at this point in the history
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
pre-commit-ci[bot] authored Oct 12, 2024
1 parent b8cb555 commit 54c0708
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.6.0
rev: v5.0.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
Expand All @@ -18,7 +18,7 @@ repos:
- id: check-xml
- id: check-symlinks
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.6.7
rev: v0.6.9
hooks:
- id: ruff-format
- id: ruff
Expand Down
2 changes: 1 addition & 1 deletion strawberry_django/type.py
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ def _process_type(

settings = django_settings()
if (
kwargs.get("description", None) is None
kwargs.get("description") is None
and model.__doc__
and settings["TYPE_DESCRIPTION_FROM_MODEL_DOCSTRING"]
):
Expand Down

0 comments on commit 54c0708

Please sign in to comment.