text: Title: [FEA] replace flake8 with ruff
  Body: **Is your feature request related to a problem? Please describe.**
  Less of an impact than replacing mypy... but ruff is pleasantly fast, so let's replace flake8 with it!
  