CadQuery / cadquery

A python parametric CAD scripting framework based on OCCT
https://cadquery.readthedocs.io
Other
2.93k stars 276 forks source link

Reformat all py files with black #1583

Closed dov closed 1 month ago

dov commented 1 month ago

Currently the code isn't black compliant. This makes it unduly difficult to contribute, because you can't blindly run black on the changed files, but must sift through the black diff output and copy only parts that belong to the changes carried out. This pull request solves that by making all py files in the repo compliant.

adam-urbanczyk commented 1 month ago

Please ask first and use the correct version for this project.

adam-urbanczyk commented 1 month ago

Cf. https://github.com/CadQuery/cadquery?tab=readme-ov-file#contributing-code

dov commented 1 month ago

@adam-urbanczyk Ok, thanks. Indeed I missed that you had forked black.