Fix format and lint findings failing CI
Fixes two issues failing CI checks at HEAD:
- Adds blank lines below module docstrings to satisfy black.
- Resolves pylint possibly-used-before-assignment (E0606) in cli.py (
what
cannot beNone
at this point, so the predicate on theelse
branch is unnecessary).