python3-flake8-class-newline

flake8 extension to lint for a method newline after a Class definition

Description

PEP8 recommends surrounding every class method with a single blank line. See https://www.python.org/dev/peps/pep-0008/#blank-lines However flake8 is ambiguous about the first method having a blank line above it.

This plugin was made to enforce the blank line just after the method declaration.

Upload more screenshots

Please help extend the collection of screenshots. Just make a screenshot and upload it here. You don't need to register or anything.

Upload a screenshot

Hint: upload an image here from your clipboard with Ctrl-V


Homepage

https://github.com/AlexanderVanEck/flake8-class-newline


Install this software package

If the package is available for the distribution you are currently using on your computer then install the software by clicking on…

Install python3-flake8-class-newline