python-packages: cosmetic to fix syntax highlighting and trailing whitespace