Skip to content

Commit

Permalink
[pre-commit.ci] pre-commit autoupdate (#346)
Browse files Browse the repository at this point in the history
* [pre-commit.ci] pre-commit autoupdate

updates:
- [github.com/astral-sh/ruff-pre-commit: v0.8.1 → v0.9.4](astral-sh/ruff-pre-commit@v0.8.1...v0.9.4)
- [github.com/python-jsonschema/check-jsonschema: 0.30.0 → 0.31.1](python-jsonschema/check-jsonschema@0.30.0...0.31.1)
- [github.com/pre-commit/mirrors-mypy: v1.13.0 → v1.14.1](pre-commit/mirrors-mypy@v1.13.0...v1.14.1)

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
pre-commit-ci[bot] authored Feb 4, 2025
1 parent 52721ec commit 0153c86
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@ ci:
autoupdate_schedule: monthly
repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.8.1
rev: v0.9.4
hooks:
- id: ruff
- id: ruff-format
- repo: https://github.com/python-jsonschema/check-jsonschema
rev: 0.30.0
rev: 0.31.1
hooks:
- id: check-github-workflows
- id: check-readthedocs
Expand All @@ -17,7 +17,7 @@ repos:
- id: blacken-docs
additional_dependencies: [black==24.10.0]
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.13.0
rev: v1.14.1
hooks:
- id: mypy
additional_dependencies: ["marshmallow>=3,<4", "Flask"]
2 changes: 1 addition & 1 deletion src/flask_marshmallow/fields.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ def _serialize(self, value, key, obj):
param_values[name] = attribute_value
else:
raise AttributeError(
f"{attr_name!r} is not a valid " f"attribute of {obj!r}"
f"{attr_name!r} is not a valid attribute of {obj!r}"
)
else:
param_values[name] = attr_tpl
Expand Down

0 comments on commit 0153c86

Please sign in to comment.