generate_rules_list
- generate_rules_list(source_index: int, rules_dict: RulesDict) list[str] [source]
Generate a List of rules from
rules_dict
.This list should be applied to the line at
source_index
.- Parameters:
source_index (int) – Index of the source code line.
rules_dict (RulesDict) – Dict containing lists of rules, depending on if the tag is a cell or a line tag.
- Returns:
List of rules which should be applied to the line at
source_index
.- Return type:
list[str]