Skip to content

Fast Linter Will Help Scaling The Codebase Better #560

Description

@simonprovost

Currently, MEDomics has no linting or formatting setup whatsoever (no Flake8, no Black, no isort, no pre-commit hooks to name a few). I believe it is therefore time to propose ruff, built by Astral yes, again! (https://astral.sh/ruff).

Ruff is a (recent!) modern Python linter and formatter considered SOTA in the field right now and a bit too fast (benchmarks put it 10x to 100x quicker than the equivalent Flake8 + Black + isort stack used in a lot, a lot of industry; See below). It replaces several tools at once (i.e., linting, import sorting, and formatting) under a single configuration file, which keeps the setup minimal.

Image

References

Notes Happy to contribute on this one, just let me know 👌

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

enhancementNew feature or request

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions