(rule, sources)
return rule.get('rule_sources', [])
Find the list of files which a particular rule applies to.

  Arguments:
    rule: the rule in question
    sources: the set of all known source files for this project
  Returns:
    The list of sources that trigger a particular rule.
Find the list of files which a particular rule applies to.
Find the list of files which a particular rule applies to .
def _FindRuleTriggerFiles(rule, sources):
  """Find the list of files which a particular rule applies to.

  Arguments:
    rule: the rule in question
    sources: the set of all known source files for this project
  Returns:
    The list of sources that trigger a particular rule.
  """
  return rule.get('rule_sources', [])
def _FindRuleTriggerFiles ( rule , sources ) : return rule . get ( 'rule_sources' , [ ] )