RadioAstronomySoftwareGroup / pyuvdata

A pythonic interface for radio astronomy interferometry data (uvfits, miriad, others)
https://pyuvdata.readthedocs.io/en/latest/index.html
BSD 2-Clause "Simplified" License
82 stars 26 forks source link

Ruff formatter #1381

Closed mkolopanis closed 2 weeks ago

mkolopanis commented 7 months ago

We fought for black, isort, and many flake8 plugins. How do we feel about ruff as a linter?

For the flake8 plugins we currently use, we would only lose rst-docstrings and it looks like that is a complicate subject based on the thread I found where it is mentioned.

bhazelton commented 7 months ago

Sound good to me. I'm not sure that rst-docstrings is adding much. Separately, I find it very annoying that the flake8 plugins aren't versioned in the pre-commit yaml, so they can change suddenly with no pre-commit change.