Pull requests

#33 Declined
Repository
mordred
Branch
default
Repository
tarek
Branch
default

Allow plugins to just register pep8 functions.

Author
  1. Monty Taylor
Reviewers
Description
No description
  • Learn about pull requests

Comments (4)

  1. Florent Xicluna

    I understand the feature request is to register physical/logical line checkers with pep8/flake8.

    FWIW, there's already a workaround for it, using a decorator.

    __version__ = "0.1"
    
    
    def flake8ext(f):
        f.name = __name__
        f.version = __version__
        return f
    
    @flake8ext
    def check_line_length(physical_line):
        if False:
            yield (...)
    

    It might be enough, no?