def noqa
bolt@1.27.0.0 · src/lint/plan.bend:539
import bolt@1.27.0.0/src/lint/plan.bend as Plan
import Base
import bolt@1.27.0.0/src/finding.bend as F
import bolt@1.27.0.0/src/rules.bend as Rules
import bolt@1.27.0.0/src/noqa.bend as Noqa
import bolt@1.27.0.0/src/rules/style/noqa.bend as NoqaRule
539
540
541def noqa(ms: List<&2, Noqa.Marks>, +whole: Bool, +gs: List<&2, F.Graded>) -> List<&2, F.Finding>:
542 match ms:
543 case Nil{}:
544 Nil{}
545 case Con{Noqa.Marks{+path, mks}, rest}:
546 List.append(&2, F.Finding, Rules.on.at(path, NoqaRule.check(mks, whole, path, gs)), noqa(rest, whole, gs))