def is_exempt

bolt@1.27.0.0 · src/rules/digest.bend:250

import bolt@1.27.0.0/src/rules/digest.bend as Digest
import Base
import bolt@1.27.0.0/src/paths.bend as Paths

250# a law file or a test, by its path alone: not under law. Nothing the file's
251# text mentions exempts it; IO is not an exemption, since an IO equality is a
252# law.
253def is_exempt(+pp: String) -> Bool:
254  Bool.or(Paths.is_law_file(pp), Paths.is_test(pp))

Uses (5)

Used by (1)