---
source: crates/ruff_linter/src/rules/pygrep_hooks/mod.rs
---
PGH003 Use specific rule codes when ignoring type issues
 --> PGH003_0.py:1:8
  |
1 | x = 1  # type: ignore
  |        ^^^^^^^^^^^^^^
2 | x = 1  # type:ignore
3 | x = 1  # type: ignore[attr-defined]  # type: ignore
  |

PGH003 Use specific rule codes when ignoring type issues
 --> PGH003_0.py:2:8
  |
1 | x = 1  # type: ignore
2 | x = 1  # type:ignore
  |        ^^^^^^^^^^^^^
3 | x = 1  # type: ignore[attr-defined]  # type: ignore
4 | x = 1  # type: ignoreme # type: ignore
  |

PGH003 Use specific rule codes when ignoring type issues
 --> PGH003_0.py:3:38
  |
1 | x = 1  # type: ignore
2 | x = 1  # type:ignore
3 | x = 1  # type: ignore[attr-defined]  # type: ignore
  |                                      ^^^^^^^^^^^^^^
4 | x = 1  # type: ignoreme # type: ignore
  |

PGH003 Use specific rule codes when ignoring type issues
 --> PGH003_0.py:4:25
  |
2 | x = 1  # type:ignore
3 | x = 1  # type: ignore[attr-defined]  # type: ignore
4 | x = 1  # type: ignoreme # type: ignore
  |                         ^^^^^^^^^^^^^^
5 |
6 | x = 1
  |
