XavB64 / lowtrip

A web app to compute travel CO2eq for different means of transport worldwide
https://lowtrip.fr
GNU Affero General Public License v3.0
55 stars 6 forks source link

[back][style] Interested in applying ruff format? #56

Closed mikaelarguedas closed 4 months ago

mikaelarguedas commented 4 months ago

This PR is a suggestion similar to https://github.com/XavB64/lowtrip/pull/49 but for the backend.

It runs the formatter of ruff https://docs.astral.sh/ruff/formatter/ Which make code compliant with pep8 but also common style practices throughout the python community. This would help keep the style consistent and more readable for outsiders.

I didn't look at the actual linting yet, preferring to make sure this was something of interest for this project.

Cheers!

clarani commented 4 months ago

Would close https://github.com/XavB64/lowtrip/issues/61