Reports a # type: ignore or # pycharm: ignore comment that names no inspection code of this IDE.
An unknown code with the pycharm: namespace gets a report from a different inspection.
Such a comment suppresses every inspection on its line. A comment in the leading comments of the file suppresses every inspection in the file. It can therefore hide a problem that appears there later.
A code of another type checker, such as mypy's attr-defined, names no inspection of this
IDE. Such a comment gets the same report.
Name the inspection codes in brackets to suppress only the problems that you accept. For example, write
# type: ignore[unsupported-operator] or # type: ignore[pycharm:PyTypeChecker].
For a comment on a line of code, the quick fix adds the codes of the problems on that line.