lora icon indicating copy to clipboard operation
lora copied to clipboard

Code cleanup

Open vlordier opened this issue 2 years ago • 3 comments

a bit of code cleanup & comments to make the code bit more accessible, no functional changes

vlordier avatar Dec 29 '22 23:12 vlordier

Hi @vlordier. Thanks for the PR. I see quite a few issues with the code though.

I started a review, but there's a higher level question that probably should be answered first, which is: what should the formatting standard for the project be?

I use Black + Flake8 personally, and would advocate for that to be the standard (something like https://github.com/hafriedlander/stable-diffusion-grpcserver/blob/main/.vscode/settings.json) - @cloneofsimo do you have any preferences?

hafriedlander avatar Dec 30 '22 02:12 hafriedlander

Oh, also, PRs should be raised against develop rather than master

hafriedlander avatar Dec 30 '22 02:12 hafriedlander

Yes it seems like many differences come from formatting. I think I use black with default linebreaks but ill notify when Im home

cloneofsimo avatar Dec 30 '22 05:12 cloneofsimo