Python format check enforcing