This is a pylint-plugin that ensures that there's no blank line after function definition.
Good:
def multiply(x: int, y: int) -> int:
"""multiply two numbers."""
return x*y
Bad:
def multiply(x: int, y: int) -> int:
"""multiply two numbers."""
return x*y
pip install pylint_no_blank_line
pylint --load-plugins=pylint_no_blank_line <FILE TO CHECK>