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

:pencil: Applied isort and black on code #21

Closed Gjacquenot closed 1 year ago

Gjacquenot commented 1 year ago

This pull request is associated to issue https://github.com/sebo-b/warp/issues/20

Modifications were automatically applied with the following commands.

Cleanup on import is not over, it still requires manual cleanup, but @sebo-b you can have a look.

The line length chosen as 100 characters can be updated

% isort --version

             _                 _
            (_) ___  ___  _ __| |_
            | |/ _/ / _ \/ '__  _/
            | |\__ \/\_\/| |  | |_
            |_|\___/\___/\_/   \_/

  isort your imports, so you don't have to.

                VERSION 5.12.0

% black --version black, 23.1.0 (compiled: yes) Python (CPython) 3.10.6

isort --profile black -l 100 warp black -l 100 warp

Gjacquenot commented 1 year ago

👋 @sebo-b , I have applied isort and black on code. I have also:

Here are the commands used:

isort --profile black -l 100 warp
black -l 100 warp

@sebo-b, can you have a look at it?

Gjacquenot commented 1 year ago

:wave: @sebo-b , do you want to apply yourself the automatic formating code commit?

sebo-b commented 1 year ago

I will apply isort by myself, but for now I will skip black (even if 90% of lines look better)

sebo-b commented 1 year ago

can you please create a new pull request with fixes for CI - I have never had time to fix it :)