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

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

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