When using type: ignore you do not specify which type error to ignore. This is bad habit as when you are reviewing your code you cannot see what the error was. You can specify to ignore a specific type by using type: ignore[errorname] so for example type: ignore[ReportAttributeAccessIssue].
When using
type: ignore
you do not specify which type error to ignore. This is bad habit as when you are reviewing your code you cannot see what the error was. You can specify to ignore a specific type by usingtype: ignore[errorname]
so for exampletype: ignore[ReportAttributeAccessIssue]
.