Loading ci/find_duplicates_in_prm_files.py +7 −1 Original line number Diff line number Diff line Loading @@ -37,7 +37,13 @@ def main() -> bool: # also check if there are duplicates in the command names only lines = contents.split("\n") commands_lines = [l for l in lines if l.strip().startswith("//")] commands_lines = [ l for l in lines if l.strip().startswith("//") and "IVAS_cod" not in l and "IVAS_dec" not in l ] commands_counter = Counter(commands_lines) commands_duplicates = [l for l in commands_counter if commands_counter[l] > 1] Loading Loading
ci/find_duplicates_in_prm_files.py +7 −1 Original line number Diff line number Diff line Loading @@ -37,7 +37,13 @@ def main() -> bool: # also check if there are duplicates in the command names only lines = contents.split("\n") commands_lines = [l for l in lines if l.strip().startswith("//")] commands_lines = [ l for l in lines if l.strip().startswith("//") and "IVAS_cod" not in l and "IVAS_dec" not in l ] commands_counter = Counter(commands_lines) commands_duplicates = [l for l in commands_counter if commands_counter[l] > 1] Loading