brohrer , 3 months ago I’m late to the game but ruff is a super slick replacement for flake8 and black. https://github.com/astral-sh/ruff
I’m late to the game but ruff is a super slick replacement for flake8 and black.
https://github.com/astral-sh/ruff
jesper , 3 months ago @brohrer I'm convincing my people slowly. It's super-fast! And it implements a lot of the reasonable extensions anyways. So it's just really convenient to use!
@brohrer I'm convincing my people slowly.
It's super-fast!
And it implements a lot of the reasonable extensions anyways. So it's just really convenient to use!
lavergnetho , 3 months ago @jesper @brohrer Would you also recommend it for people with no/little experience with linters and code formatters? Is ruff good for new users as well?
@jesper @brohrer Would you also recommend it for people with no/little experience with linters and code formatters? Is ruff good for new users as well?
jesper , 3 months ago @lavergnetho @brohrer absolutely. Most of my colleagues are Scientists. So I set up pre-commit hooks that run ruff on every commit. You can run ruff from the command line with a single command. Pretty "batteries included" if you ask me.
@lavergnetho @brohrer absolutely. Most of my colleagues are Scientists. So I set up pre-commit hooks that run ruff on every commit.
You can run ruff from the command line with a single command.
Pretty "batteries included" if you ask me.
lavergnetho , 3 months ago @jesper @brohrer Thanks. Pre-commit hooks is what we'll need. I also read that editors like VSCode can auto-correct or flag wrongly-formatted code before it is even committed.
@jesper @brohrer Thanks. Pre-commit hooks is what we'll need. I also read that editors like VSCode can auto-correct or flag wrongly-formatted code before it is even committed.