ruff
647548b5 - [`pygrep_hooks`] Move `blanket-noqa` to noqa checker (`PGH004`) (#11053)

Comment changes are shownComment changes are hidden
Commit
1 year ago
[`pygrep_hooks`] Move `blanket-noqa` to noqa checker (`PGH004`) (#11053) ## Summary Move `blanket-noqa` rule from the token checker to the noqa checker. This allows us to make use of the line directives already computed in the noqa checker. ## Test Plan Verified test results are unchanged.
Parents
  • crates/ruff_linter/src
    • checkers
      • File
        noqa.rs
      • File
        tokens.rs
    • File
      registry.rs
    • rules/pygrep_hooks/rules
      • File
        blanket_noqa.rs
Loading