Searched refs:rules_yml (Results 1 – 2 of 2) sorted by relevance
102 def __init__(self, rules_yml, depend_yml): # type: (str, str) -> None argument103 self.rules_yml = rules_yml104 self.rules_cfg = yaml.load(open(rules_yml), Loader=yaml.FullLoader)233 with open(self.rules_yml) as fr:241 print(self.rules_yml, 'has been modified. Please check')242 with open(self.rules_yml, 'w') as fw:298 writer = RulesWriter(args.rules_yml, args.dependencies_yml)
84 def validate(rules_yml): argument88 with open(rules_yml) as fr:93 print('{}:{}:WARNING:rule "{}" unused'.format(rules_yml, index, key))113 sys.exit(validate(args.rules_yml))