fusesoc icon indicating copy to clipboard operation
fusesoc copied to clipboard

Add ruff lints

Open HU90m opened this issue 9 months ago • 1 comments

I noticed a few problems in the code base that would have been picked up on by a linter.

I've added the ruff linter to pre-commit and addressed some of the failures with simpler fixes.

Do we think using ruff for linting is a good idea?

HU90m avatar Feb 25 '25 12:02 HU90m

I don't have any opinions on what linter to use, but it looks like it picked up some nice clean-ups at least, so I'm happy to give it a go. Want to pull some other things in first though to avoid merge conflicts.

olofk avatar Mar 03 '25 16:03 olofk