dev: fix some mypy
errors and switch to ruff
#511
Merged
Loading
mypy
errors and switch to ruff
#511