lbl-anp / becquerel

Becquerel is a Python package for analyzing nuclear spectroscopic measurements.
Other
43 stars 16 forks source link

Consider moving all linting and formatting to ruff #397

Closed markbandstra closed 1 month ago

markbandstra commented 5 months ago

It appears that ruff has become the new standard for linting and formatting code, and it is incredibly fast. Various prominent projects are already using ruff, and we should consider it.

I noticed that one common tool, pydocstyle, recently became retired and now points to ruff as a replacement.

jccurtis commented 2 months ago

Hey @markbandstra, need some help with this?

markbandstra commented 2 months ago

Hi @jccurtis ! Sure, I was having trouble today figuring out exactly what is going wrong with the tests on #398, so if you have spare cycles, that would be helpful!

markbandstra commented 2 months ago

Actually I ended up figuring the problem out, it was a subtlety in using pytest-ruff.