pub fn get_ignore_reason( annotations: Option<&BTreeMap<String, String>>, rule_code: &str, ) -> Option<String>
Get the reason for ignoring a rule (if provided in the annotation value).