pre-commit/pygrep-hooks

`python-check-blanket-type-ignore` should allow line containing only `# type: ignore`

randolf-scholz opened this issue · 3 comments

mypy allows ignoring an entire file by adding a # type: ignore comment at the top of the file: python/mypy#964.

the entire point of it is to be explicit about what you're ignoring. blanket ignoring a whole file is not in the spirit of the check

Blanket ignoring a whole file is also not in the "spirit" of mypy, yet they have the option...

idk why you seem to be arguing that "check blanket ignores" should be allowing a blanket ignore