trailing-newlines / C0305#

Message emitted:

Trailing newlines

Description:

Used when there are trailing blank lines in a file.

Problematic code:

print("apple")
# The file ends with 2 lines that are empty # +1: [trailing-newlines]

Correct code:

print("apple")

Created by the format checker.