def trailing_blank_lines(physical_line, lines, line_number):
    if physical_line.strip() == '' and line_number == len(lines):
        return 0, "W391 blank line at end of file"
Test legacy django_ module exists and works
dataset/ETHPy150Open sahana/eden/static/scripts/tools/pep8.py/trailing_blank_lines--crossover with--dataset/ETHPy150Open lavr/python-emails/emails/testsuite/django_/test_django_integrations.py/test_legacy_import