CadQuery / CQ-editor

CadQuery GUI editor based on PyQT
Apache License 2.0
777 stars 120 forks source link

Auto code formatting #145

Open helmecke opened 4 years ago

helmecke commented 4 years ago

Would you be willing to accept a PR implementing auto-code-formatting, like in cadquery issue #244.

adam-urbanczyk commented 4 years ago

For now not really, but things like typing annotations would be quite welcome.

westurner commented 4 years ago

Code formatting of cq-editor itself or of code edited within cq-editor? For the latter, $ pip install black; black -l79 filename.py seems to result in the code in the Editor pane auto-updating (and re-rendering if so configured)