summaryrefslogtreecommitdiff
path: root/tests/test_rules/test_runner.py
diff options
context:
space:
mode:
authorKlaus Aehlig <klaus.aehlig@huawei.com>2024-08-14 16:18:55 +0200
committerKlaus Aehlig <klaus.aehlig@huawei.com>2024-08-20 16:39:41 +0200
commit2df55f5c3522e52bf6444ed561667ef42c2d0d25 (patch)
tree16eb4c8883cb015c7b1152726ab3df06bd181ce2 /tests/test_rules/test_runner.py
parent2ab70dbcfa7f7f5a352c4ff15404227b47242c66 (diff)
downloadrules-cc-2df55f5c3522e52bf6444ed561667ef42c2d0d25.tar.gz
["lint", "targets"]: deduplicate tasks
In case many "targets" are given, the field "lint" will contain all the concatenation of the provider "lint" of the given targets. There is, however, not need to lint the same file in the same context twice, so deduplicate the targets first. While this does not change the amount of lint actions carried out (as equal actions are handled only once anyway), it keeps the summary clean by not having dulicate entries.
Diffstat (limited to 'tests/test_rules/test_runner.py')
0 files changed, 0 insertions, 0 deletions