Skip to main content

Flake8 lint for newline after class definitions.

Project description

Flake8 Extension to lint for a newline after a Class definition
===========================================

.. image:: https://travis-ci.org/AlexvEck/flake8-class-newline.svg?branch=master
:target: https://travis-ci.org/AlexvEck/flake8-class-newline
:alt: Build Status

Usage
-----

If you are using flake8, you can install this package through pip.

.. code:: shell

pip install flake8-class-newline

This plugin is then automatically triggered when you run;

.. code:: shell

flake8

It produces only 1 error type; `CNL100: Class definition does not have a new line.`

Special Notice
-----

This package was inspired by flake8-quotes created by @zheller.
Thanks for the inspiration!

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

flake8-class-newline-1.2.1.tar.gz (3.5 kB view details)

Uploaded Source

File details

Details for the file flake8-class-newline-1.2.1.tar.gz.

File metadata

File hashes

Hashes for flake8-class-newline-1.2.1.tar.gz
Algorithm Hash digest
SHA256 3323151db98995d5d970977773b57f98ebddbb5706d3e25fb473ef37cd5a9698
MD5 3d5335eec9d2d7c8c9cb590a879b1933
BLAKE2b-256 0f43668741fa166e01575085d42ffccf31488fd5fc21232326f077e059ed319c

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page