danielhrisca / asammdf

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

Activate pyflakes rules in ruff #928

Closed zariiii9003 closed 8 months ago

zariiii9003 commented 8 months ago

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

danielhrisca commented 8 months ago

how can I run ruff to see the warnings?

zariiii9003 commented 8 months 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 8 months ago

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

danielhrisca commented 8 months ago

Thanks