DLR-SF / UTIS-HeliostatBeamCharacterization

UNet-based Target Image Segmentation
Other
3 stars 1 forks source link

Format code with `ruff` #9

Open mcw92 opened 1 week ago

mcw92 commented 1 week ago

@Filos1992 To ensure consistent formatting of the code, I suggest to run ruff over the whole codebase once it is in its final state and add the ruff badge in the README: Ruff

In addition, we should include a Python badge specifying the supported versions:

We could also integrate pre-commit hooks to take care of code formatting more or less automatically but this is probably not really necessary at this point. As a nice add-on, I suggest to traverse to a better readable docstring format and add type hints.