concat(seqs...) appends all given lists or tuples together and returns the combined result. If all inputs are lists of the same element type, the result is a list. Otherwise, the result is a tuple.
Signature
Example
Combine a fixed set of required linting steps with an optional set of extra checks passed as a variable:extra_checks is empty, only the base packages are linted. When --var 'extra_checks=["./tool/..."]' is passed, the extra path is appended.
Notes
concatpreserves order and duplicates. Usedistinctafterward if uniqueness is required.- When mixing lists of different types or including tuples, the result is a tuple rather than a list.