loco-3d / sl1m

Implementation of the sl1m solver for multi contact planning
BSD 2-Clause "Simplified" License
15 stars 15 forks source link

Mnaveau/format #26

Closed MaximilienNaveau closed 1 year ago

MaximilienNaveau commented 2 years ago

Simply format the code using black

MaximilienNaveau commented 2 years ago

@nim65s it is not really necessary to review this as it's just pure code formatting, I made sure the example were running properly. I will merge soon.

MaximilienNaveau commented 2 years ago

There are a lot of small fixes to do that black do not: remove unused import, delete unused variables, etc.

nim65s commented 2 years ago

I would suggest to keep black default line length, as this is what we are already doing in all other places.

Pro-tip: If you're asking yourself "Do I need to configure anything?" the answer is "No". Black is all about sensible defaults. Applying those defaults will have your code in compliance with many other Black formatted projects.

MaximilienNaveau commented 1 year ago

Reformatted using black .