JULIETYCL / DRS_client

Client for the DRS Server
0 stars 0 forks source link

Code Formatting: black #3

Open AlexanderSenf opened 1 year ago

AlexanderSenf commented 1 year ago

black is a very fine-grained, very intrusive code formatting tool. It is not universally used, it is not a requirement of good code. But it is a sensible tool if you want to produce well-formatted Python code.

This issue is to try out black to see how it changes the existing code, after flake8 and isort have already been applied.

sudo apt install black black --line-length 120 *.py

black uses a default line length on 88; so it needs to be adjusted to use the same as flake8.

JULIETYCL commented 1 year ago

Reformatted.

JULIETYCL commented 1 year ago

Fixed with #11