pymc-devs / pymc-experimental

https://pymc-experimental.readthedocs.io
Other
77 stars 49 forks source link

update pre-commit-config replacing black and pylint with ruff #366

Closed theorashid closed 2 months ago

theorashid commented 2 months ago

This is for #350, because I too wanted to replace black with ruff. There's a lot going on here but it's largely cosmetic. After changing the pre-commit file following the pytensor pre-commit config I:

The dubious ones that I changed which might be bugs were:

theorashid commented 2 months ago

Couple of follow ups:

zaxtax commented 2 months ago

Should this be combined with #368 ?

theorashid commented 2 months ago

Working with @jessegrabowski to merge ours together. No need to review