[ty] Add code action to ignore diagnostic on the current line by MichaReiser · Pull Request #21595 · astral-sh/ruff (original) (raw)
mypy_primer results
Changes were detected when running on open source projects
pydantic (https://github.com/pydantic/pydantic)
- pydantic/fields.py:943:5: error[invalid-parameter-default] Default value of type
PydanticUndefinedTypeis not assignable to annotated parameter typedict[str, int | float | str | ... omitted 3 union elements] | ((dict[str, int | float | str | ... omitted 3 union elements], /) -> None) | None
- pydantic/fields.py:943:5: error[invalid-parameter-default] Default value of type
PydanticUndefinedTypeis not assignable to annotated parameter typedict[str, Divergent] | ((dict[str, Divergent], /) -> None) | None
- pydantic/fields.py:983:5: error[invalid-parameter-default] Default value of type
PydanticUndefinedTypeis not assignable to annotated parameter typedict[str, int | float | str | ... omitted 3 union elements] | ((dict[str, int | float | str | ... omitted 3 union elements], /) -> None) | None
- pydantic/fields.py:983:5: error[invalid-parameter-default] Default value of type
PydanticUndefinedTypeis not assignable to annotated parameter typedict[str, Divergent] | ((dict[str, Divergent], /) -> None) | None
- pydantic/fields.py:1026:5: error[invalid-parameter-default] Default value of type
PydanticUndefinedTypeis not assignable to annotated parameter typedict[str, int | float | str | ... omitted 3 union elements] | ((dict[str, int | float | str | ... omitted 3 union elements], /) -> None) | None
- pydantic/fields.py:1026:5: error[invalid-parameter-default] Default value of type
PydanticUndefinedTypeis not assignable to annotated parameter typedict[str, Divergent] | ((dict[str, Divergent], /) -> None) | None
- pydantic/fields.py:1066:5: error[invalid-parameter-default] Default value of type
PydanticUndefinedTypeis not assignable to annotated parameter typedict[str, int | float | str | ... omitted 3 union elements] | ((dict[str, int | float | str | ... omitted 3 union elements], /) -> None) | None
- pydantic/fields.py:1066:5: error[invalid-parameter-default] Default value of type
PydanticUndefinedTypeis not assignable to annotated parameter typedict[str, Divergent] | ((dict[str, Divergent], /) -> None) | None
- pydantic/fields.py:1109:5: error[invalid-parameter-default] Default value of type
PydanticUndefinedTypeis not assignable to annotated parameter typedict[str, int | float | str | ... omitted 3 union elements] | ((dict[str, int | float | str | ... omitted 3 union elements], /) -> None) | None
- pydantic/fields.py:1109:5: error[invalid-parameter-default] Default value of type
PydanticUndefinedTypeis not assignable to annotated parameter typedict[str, Divergent] | ((dict[str, Divergent], /) -> None) | None
- pydantic/fields.py:1148:5: error[invalid-parameter-default] Default value of type
PydanticUndefinedTypeis not assignable to annotated parameter typedict[str, int | float | str | ... omitted 3 union elements] | ((dict[str, int | float | str | ... omitted 3 union elements], /) -> None) | None
- pydantic/fields.py:1148:5: error[invalid-parameter-default] Default value of type
PydanticUndefinedTypeis not assignable to annotated parameter typedict[str, Divergent] | ((dict[str, Divergent], /) -> None) | None
- pydantic/fields.py:1188:5: error[invalid-parameter-default] Default value of type
PydanticUndefinedTypeis not assignable to annotated parameter typedict[str, int | float | str | ... omitted 3 union elements] | ((dict[str, int | float | str | ... omitted 3 union elements], /) -> None) | None
- pydantic/fields.py:1188:5: error[invalid-parameter-default] Default value of type
PydanticUndefinedTypeis not assignable to annotated parameter typedict[str, Divergent] | ((dict[str, Divergent], /) -> None) | None
- pydantic/fields.py:1567:13: error[invalid-argument-type] Argument is incorrect: Expected
dict[str, int | float | str | ... omitted 3 union elements] | ((dict[str, int | float | str | ... omitted 3 union elements], /) -> None) | None, foundTop[dict[Unknown, Unknown]] | (((dict[str, int | float | str | ... omitted 3 union elements], /) -> None) & ~Top[dict[Unknown, Unknown]]) | None
- pydantic/fields.py:1567:13: error[invalid-argument-type] Argument is incorrect: Expected
dict[str, Divergent] | ((dict[str, Divergent], /) -> None) | None, foundTop[dict[Unknown, Unknown]] | (((dict[str, Divergent], /) -> None) & ~Top[dict[Unknown, Unknown]]) | None
No memory usage changes detected ✅