Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ ignore = [
[tool.mypy]
files = ["src", "tests", "examples"]
ignore_missing_imports = true
warn_unreachable = true
warn_unreachable = false
warn_unused_ignores = true
warn_redundant_casts = true
no_implicit_optional = true
Expand Down
2 changes: 1 addition & 1 deletion src/marshmallow/schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -1139,7 +1139,7 @@ def _bind_field(self, field_name: str, field_obj: Field) -> None:
msg = (
f'Field for "{field_name}" must be declared as a '
"Field instance, not a class. "
f'Did you mean "fields.{field_obj.__name__}()"?' # type: ignore[attr-defined]
f'Did you mean "fields.{field_obj.__name__}()"?'
)
raise TypeError(msg) from error
raise
Expand Down