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
56 stars 6 forks source link

Add a CI to format the backend #61

Closed clarani closed 5 months ago

clarani commented 6 months ago

Description

Add a github job to format and lint the backend. Use black (and flake8 ?)

mikaelarguedas commented 5 months ago

Nice coincidence I opened https://github.com/XavB64/lowtrip/pull/56 that same day.

It has the advantage of being much faster (rust-based) and feature complete than flake8.

If you like the idea I can make a separate PR for adding the linter part

XavB64 commented 5 months ago

Can we close this issue now as ruff has been installed ?

clarani commented 5 months ago

Yes this issue can be closed, see https://github.com/XavB64/lowtrip/pull/69