def final

bolt@1.27.0.0 · src/lint/plan.bend:558

import bolt@1.27.0.0/src/lint/plan.bend as Plan
import Base
import bolt@1.27.0.0/src/lint/world.bend as W
import bolt@1.27.0.0/src/finding.bend as F
import bolt@1.27.0.0/src/noqa.bend as Noqa

558# every finding of the run, graded, then silenced by the marks of the
559# sources, then `noqa`'s own, which judges a project rule's code only when
560# the run is the whole tree. The sources are parsed once for both.
561def final(+world: W.World) -> List<&2, F.Graded>:
562  +gs = gots(inputs(world), world)
563  +ss = srcs_of(gs)
564  +cs = confs(world)
565  after(Noqa.of_srcs(ss), List.is_empty(&2, String, W.paths.of(world)), grade(cs, world, found.at(world, gs, ss)),
566    fs => grade(cs, world, fs))

Uses (14)

Used by (1)