flake8 on rest compiler

Signed-off-by: Chris “Kwpolska” Warrick <kwpolska@gmail.com>