vorta icon indicating copy to clipboard operation
vorta copied to clipboard

Replace flake8 with Ruff for faster linting

Open shivansh02 opened this issue 1 year ago • 3 comments

The problem

Linting speed can be improved by using only Ruff.

Requested Solution

I propose replacing flake8 with Ruff, which we are already using in the project. Ruff's linter is much faster and implements every rule in flake8.

Alternatives

Other popular python linters, but Ruff seems to be the fastest and its already being used.

shivansh02 avatar Mar 15 '24 19:03 shivansh02

Right. Ruff is already used, but we kept flake8 as well. If you want to add a PR that removes flake8, it's fine with me, if we still get the same result.

m3nu avatar Mar 16 '24 17:03 m3nu

Sure, will do. Also, I wanted to discuss GSoC projects ideas with the mentors. Can you please let me know where I can get in touch?

shivansh02 avatar Mar 16 '24 22:03 shivansh02

The Matrix chat mentioned in the wiki will work well. I'll try to be there more often.

m3nu avatar Mar 17 '24 12:03 m3nu