Fix PEP8: E301 expected 1 blank line, found 0
Fix PEP8: E302 expected 2 blank lines, found 1
Fix PEP8: E303 too many blank lines
Lower PEP8 threshold to 0 violations
Merge pull request #6063 from stvstnfrd/pep8/newline

Fix recently added PEP8 violations