JULIETYCL / DRS_client

Client for the DRS Server
0 stars 0 forks source link

Code Formatting: isort #2

Open AlexanderSenf opened 1 year ago

AlexanderSenf commented 1 year ago

Another common way to format Python code is to sort all imports in a common way. One tool that sorts imports in Python files, and modifies the source code, if it finds anything to fix, is isort.

sudo apt install isort isort *.py

This is beneficial if the codebase becomes larger and more complex. Having code formatted, and imports sorted, according a common guidelines makes it easier for programmers to read the code, to find errors, etc. It is good practice to do that with all code.

JULIETYCL commented 1 year ago

Thanks. Added

JULIETYCL commented 1 year ago

Revised with #10