trailing-newlines / C0305#

Message emitted:

Trailing newlines

Description:

Used when there are trailing blank lines in a file.

Correct code:

print("apple")

Problematic code:

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

Created by the format checker.