inaka / elvis

Erlang Style Reviewer
Apache License 2.0
424 stars 87 forks source link

Specifying list of files and "--parallel auto" does not process in parallel #567

Open jamesaimonetti opened 2 years ago

jamesaimonetti commented 2 years ago

When invoking elvis with the --parallel option to process files in parallel and a list of files, each file is processed sequentially (due to lists:map/2 being used on each passed in file).

Basic invocation we're trying: elvis --config elvis.config -k --parallel auto rock src/file1.erl src/file2.erl ...

On my system:

1> erlang:system_info(schedulers).
12

Is there interest in supporting parallel execution in this case?