Tool wanted for automatic code formatting

In Python there is a tool called “black” which will format the scripts so you don’t have to as a developer. It takes care of line breaks, whitespaces, etc.

Is there something like this for C# that works with the Unity script files?

Link to Python’s black: