AmenRa / ranx

⚡️A Blazing-Fast Python Library for Ranking Evaluation, Comparison, and Fusion 🐍
https://amenra.github.io/ranx
MIT License
427 stars 23 forks source link

[Feature Request] Use black to indent the code #44

Closed diegoceccarelli closed 1 year ago

diegoceccarelli commented 1 year ago

Is your feature request related to a problem? Please describe.

black https://pypi.org/project/black/ is the Uncompromising Code Formatter. You can install it, run black and it will format the code properly. How about using it for the project in order to make sure style is consistent?

AmenRa commented 1 year ago

Hi Diego, the code was already black formatted.

The inconsistency was because I initially forced 80 chars line length in my IDE. Then, I reverted it to 88 as suggested in black documentation but forgot to run black project-wise.

Now code formatting should be consistent.