GenomicMedLab / software-templates

Cookiecutter templates for lab software projects
MIT License
0 stars 0 forks source link

style: pin ruff version #8

Closed jsstevenson closed 10 months ago

jsstevenson commented 10 months ago

noticed a funny bug today. Latest Ruff version designated something as a fail. Added a noqa to ignore it. Pre-commit can only be tagged with specific ruff versions, and it flagged that noqa as "unused".

In a way, every new minor Ruff update has a chance to be "breaking" (in terms of causing fails in CI that were passing before) so I think it might make general good sense to be pinning this stuff and then updating every 3-6 months unless we see a new feature we really want.

update: ruff 0.2.0 came out in the time between me updating my local environment and actually putting this issue together. Went ahead and just updated it here.