* Format comparisons and functions to be consistent * Add `checkstyle.py` script and add check to CI * Fix Ruff lints