Ivorforce / NumDot

Tensor math and scientific computation for the Godot game engine.
https://numdot.readthedocs.io
MIT License
19 stars 7 forks source link

Introduce a code formatter #72

Open Ivorforce opened 1 month ago

Ivorforce commented 1 month ago

A unified style will help contributions go more smoothly.

Ivorforce commented 1 month ago

I have configured and started using the CLion code formatter, with some pretty mild settings. Users with others IDEs will not be able to use it. I tried clang-format, but I find it impossible to configure - it would probably take hours.

I'm open to other suggestions, and / or a PR for this matter. The only thing I really need is for the codebase to change as little as possible, since my style should already be pretty consistent as-is style wise.