[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#993139: ITP: flake8-class-newline -- flake8 Extension to lint for a method newline after a Class definition



Package: wnpp
Severity: wishlist
Owner: Jose Luis Rivero <jrivero@osrfoundation.org>
X-Debbugs-Cc: debian-devel@lists.debian.org

* Package name    : flake8-class-newline
  Version         : 1.6.0
  Upstream Author : Alexander van Eck
* URL             : https://github.com/AlexanderVanEck/flake8-class-newline
* License         : MIT
  Programming Lang: Python
  Description     : flake8 Extension to lint for a method newline after a Class definition

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

PEP8 says we should surround 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.


Reply to: