def message
import bend-lint-pack@0.1.1.0/complexity/cognitive.bend as Cognitiveimport Base
86def message(+name: String, score: U32, max: U32) -> String:
87 "def " ++ name ++ " has cognitive complexity " ++ U32.show(score) ++ "; the limit is " ++ U32.show(max) ++ ". Flatten nested matches into helper defs."