Skip to content

Commit

Permalink
Merge pull request #2263 from marshmallow-code/pre-commit-ci-update-c…
Browse files Browse the repository at this point in the history
…onfig

[pre-commit.ci] pre-commit autoupdate
  • Loading branch information
lafrech committed Apr 30, 2024
2 parents 38dc356 + 2d6e5c2 commit 183c411
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,6 +1,6 @@
repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.4.1
rev: v0.4.2
hooks:
- id: ruff
- id: ruff-format
Expand All @@ -16,7 +16,7 @@ repos:
- id: blacken-docs
additional_dependencies: [black==23.12.1]
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.9.0
rev: v1.10.0
hooks:
- id: mypy
additional_dependencies: [types-simplejson, types-pytz, packaging]
Expand Down
2 changes: 1 addition & 1 deletion src/marshmallow/fields.py
Original file line number Diff line number Diff line change
Expand Up @@ -628,7 +628,7 @@ def schema(self):
return self._schema

def _nested_normalized_option(self, option_name: str) -> list[str]:
nested_field = "%s." % self.name
nested_field = f"{self.name}."
return [
field.split(nested_field, 1)[1]
for field in getattr(self.root, option_name, set())
Expand Down

0 comments on commit 183c411

Please sign in to comment.