Some tools such as Git work better when files end with an empty line. This rule simply generates an issue if it is missing.

For example, a Git diff looks like this if the empty line is missing at the end of the file:

<pre>

+class Test:

+ pass

\ No newline at end of file

</pre>