Skip to content

This is a pylint-plugin that ensures that there's no blank line after function definition.

Notifications You must be signed in to change notification settings

deadex-ng/pylint-no-blank-line

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pylint-no-blank-line

linting: pylint

This is a pylint-plugin that ensures that there's no blank line after function definition.

Examples

Good:

def multiply(x: int, y: int) -> int:
    """multiply two numbers."""
    return x*y

Bad:

def multiply(x: int, y: int) -> int:
    """multiply two numbers."""

    return x*y

Installation

pip install pylint_no_blank_line

How to use it

pylint --load-plugins=pylint_no_blank_line <FILE TO CHECK>

About

This is a pylint-plugin that ensures that there's no blank line after function definition.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages