RULEAPI-821 Skip all profile files, not only Sonar_way_profile
This commit is contained in:
parent
a6f4f03031
commit
c480f9a4b0
@ -73,7 +73,7 @@ def get_implemented_rules(path, languages_from_sonarpedia):
|
||||
for lang in languages_from_sonarpedia:
|
||||
implemented_rules[lang] = []
|
||||
for filename in os.listdir(path):
|
||||
if filename.endswith(".json") and not filename.startswith("Sonar_way"):
|
||||
if filename.endswith(".json") and 'profile' not in filename:
|
||||
rule = load_json(os.path.join(path, filename))
|
||||
rule_id = get_rule_id(filename)
|
||||
for language in compatible_languages(rule, languages_from_sonarpedia):
|
||||
|
Loading…
x
Reference in New Issue
Block a user