sebo-b / warp

Workspace Autonomous Reservation Program - a system to help you efficiently manage hybrid (assigned, hot-desks, etc) office space.
MIT License
139 stars 60 forks source link

isort and black #20

Closed sebo-b closed 1 year ago

sebo-b commented 1 year ago

@sebo-b , would you be interested in using isort and then black for code formatting?

If so, I can propose the associated pull request. Or @sebo-b , you can do it yourself, as it changes mainly line ownership.

I use these commands

isort --profile black -l 100 my_code
black -l 100 my_code

Originally posted by @Gjacquenot in https://github.com/sebo-b/warp/issues/8#issuecomment-1475135182

sebo-b commented 1 year ago

Hi @Gjacquenot

Thank you for your contribution. I like isort, but black is also formatting Peewee lines (SQL query builder) which makes them less clear for me.

I will apply isort and push the changes, but for now, I don't want to use black.

Cheers, /S