While your program may work functionally, it may still be hard to maintain if the style of it is messy. So it would be nice to automated code style. A favourable tool for that the flake8 ecosystem.
You can tell flake8 to ignore certain errors by passing them along on the terminal.
flake8 code.py --ignore W291,E302
Feedback? See an issue? Feel free to mention it here.
If you want to be kept up to date, consider getting the newsletter.