Derived from the Pylint linter.
Fix is always available.
What it does#
Checks for functions that end with an unnecessary
return None, and contain no other
Why is this bad?#
Python implicitly assumes a
None return at the end of a function, making
it unnecessary to explicitly write