pooch icon indicating copy to clipboard operation
pooch copied to clipboard

Replace `pylint`, `flake8` and `black` for `ruff`

Open santisoler opened this issue 1 year ago • 1 comments

Replace the current linters and auto-formatters we are using in Pooch for ruff.

[!NOTE]

This branch is intended to collect all changes to complete the replacement of the linters. We should not push to this branch, but open PRs against it instead.

I'm planning to merge this branch as soon as we get ruff happy with Pooch. We can leave a few warnings hanging and ignore them temporarily, so we can tackle them later.

When ready, this branch should be MERGED to main and not Squash and Merged, so we don't create a huge commit.

[!IMPORTANT]

Make sure that the format passes on CI on PRs targeted to this branch. It's expected that the style check will fail until we solve all warnings, but format should pass.

santisoler avatar Dec 20 '24 00:12 santisoler

TODO: Remove the pylint comments to disable rules per file/line.

leouieda avatar Feb 04 '25 17:02 leouieda