danielhrisca / asammdf

Fast Python reader and editor for ASAM MDF / MF4 (Measurement Data Format) files
GNU Lesser General Public License v3.0
655 stars 226 forks source link

Activate pyflakes rules in ruff #928

Closed zariiii9003 closed 1 year ago

zariiii9003 commented 1 year ago

@danielhrisca I added a few rules to "ignore", could you take a look at those and push fixes to this PR?

danielhrisca commented 1 year ago

how can I run ruff to see the warnings?

zariiii9003 commented 1 year ago

how can I run ruff to see the warnings?

ruff check ./src

But you have to comment out the ignored rules in pyproject.toml to see the warnings.

zariiii9003 commented 1 year ago

@danielhrisca Can you merge this? I'll fix the other stuff in a separate PR. This one contains no logic changes.

danielhrisca commented 1 year ago

Thanks