Ensure style conventions
Hi @ezra-eisbrenner, I added a bunch of functions for comparing plots of gridded data. However, there is a pep8 style convention issue I can't solve, the file does not pass pylint. The error message is 'No newline at end of file' but if I add a line break at the end of the file it still doesn't pass, the error message then is 'empty line at end of file'. Any idea what's the solution to this?
Try an empty last line (you had a blank line with white spaces once, that seems not to work).
black windeval/plotting.pywhich should take care of the issue too.
As a side note, the
\ncharacter is the string representation of new lines, which in this case won't work since the code is not evaluated as string or strings.
You've got trailing whitespaces too:
windeval/plotting.py:204:19: W291 trailing whitespace ERROR: Job failed: exit code 1
this can be taken care of by most editors on save, or alternatively, again, using black on the file, i.e.