m3dev / gokart

Gokart solves reproducibility, task dependencies, constraints of good code, and ease of use for Machine Learning Pipeline.
https://gokart.readthedocs.io/en/latest/
MIT License
305 stars 57 forks source link

Introduce Ruff as formatter #346

Closed hirosassa closed 7 months ago

hirosassa commented 8 months ago

What I did in this PR

related to #344 #345

I replaced yapf with ruff as formatter.

discussion

Coding style of YAPF and Ruff is slightly different. We need to discuss on the style. The big difference is as follows:

hirosassa commented 8 months ago

@Hi-king @yokomotod @mski-iksm pls check

hirosassa commented 7 months ago

The Configurations is changed in this commit. Ruff formatter is applied in this commit

Hi-king commented 7 months ago

LGTM. Let's make a bold change!

yokomotod commented 7 months ago

Sorry for late the late reply!