Export symbols to satisfy type checkers by zariiii9003 · Pull Request #1551 · hardbyte/python-can

@zariiii9003

Closes #1547

This also introduces ruff with isort, pyupgrade and the unused-imports check.

@felixdivo The version with the import x as x reexport can be seen here. I think that one is less ugly, but i don't care too much.

felixdivo

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I didn't go through every change, but the tooling additons and general changes are great!

@zariiii9003

@felixdivo Thanks for taking a look.

Coveralls is failing, that's a new one

@zariiii9003

@tjohanssonn

@zariiii9003 Sorry for the delay. I've tested the branch and it seems to be working! Thanks for the quick attention and fix. Only issue that remains now is the:

Cannot instantiate abstract class "Bus"
"BusABC.init" is abstract
"BusABC.send" is abstract

But that was not part of my issue #1547, so that issue is ✅

This was referenced

Apr 4, 2023