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.
References
Notes Happy to contribute on this one, just let me know 👌
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.
References
Notes Happy to contribute on this one, just let me know 👌