update_rules_dict
- update_rules_dict(total_rules_dict: Dict[str, List[str]], new_rules_dict: Dict[str, List[str]]) None[source]
Update the rules dict
total_rules_dictwithnew_rules_dict.If any entry of a key is ‘noqa’ (ignore all), the rules will be set to be only ‘noqa’.
- Parameters:
total_rules_dict (RulesDict) –
rules_dictwhich should be updated.new_rules_dict (RulesDict) –
rules_dictwhich should be used to updatetotal_rules_dict.