Add and enforce linting. - Add ruff or flake8 configuration - Fix all existing lint warnings - Add lint check to CI pipeline - Add pre-commit hooks (optional)
Add and enforce linting.