Skip to main content

A flake8 plugin with super_mario specific validations

Project description


Build Status Maintainability Test Coverage PyPI version PyPI - Python Version

An extension for flake8 with super_mario specific validations.

Mario is a framework for business logic flow. It's best when user follows all rules. Some rules are checked by Mario itself and some are best with static analysis and can be checked with this plugin.


pip install flake8-super-mario


from super_mario import BasePipeline, process_pipe

class SimplePipeline(BasePipeline):
    pipeline = [

    def sum_numbers(a, b):
        return {'d': a + b}


$ flake8 SME001 Pipe sum_numbers has no pipe decorator

Error codes

Error code Description
SME001 Pipe XXX has no pipe decorator
SME002 Pipe XXX has too high cyclomatic complexity (X > Y)
SME003 Pipe XXX has too high cognitive complexity (X > Y)
SME004 Pipe XXX is of process type and is not pure

Project details

Download files

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

Files for flake8-super-mario, version 0.0.2
Filename, size File type Python version Upload date Hashes
Filename, size flake8_super_mario-0.0.2.tar.gz (4.8 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page