Thanks for the reply. I was following the developer tools wiki
<https://spark.apache.org/developer-tools.html> that suggests using
scalafmt. I checked ./dev/lint-scala and it is a wrapper around scalafmt
for some modules like you suggested. Is there a recommendation for
auto-formatting and enforcement for other modules?

On Sat, Mar 15, 2025 at 12:08 AM Asif Shahid <asif.sha...@gmail.com> wrote:

> I am not 100% sure, but I think you should run :
>
> ./dev/lint-scala   .
>
> Some time back I also ran the target which you said, and resulted in
> plethora of files being modified.
>
> Then at that time realized, that target was run only for some specific
> modules ( I think connect..).
>
> Regards
>
> Asif
>
> On Fri, Mar 14, 2025 at 9:46 PM Rob Reeves <robert.p.ree...@gmail.com>
> wrote:
>
>> Hi Spark devs,
>>
>> There seems to be a lot of code formatting tech debt. When I run
>> "./dev/scalafmt" on the master branch it makes formatting changes on
>> thousands of files. Is that expected or am I doing something wrong? If
>> these files should be formatted we could add a formatting check to the PR
>> to prevent changes that have formatting issues.
>>
>> -Rob
>>
>

Reply via email to