* [x] flake8 section can be removed by moving to ruff. (#542) * [x] metadata can be converted to PEP 621.