How to use the mccabe.__version__ function in mccabe

To help you get started, we’ve selected a few mccabe examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github dreadatour / Flake8Lint / lint.py View on Github external
def tools_versions():
    """Return all lint tools versions."""
    return (
        ('pep8', pep8.__version__),
        ('flake8', flake8_version),
        ('pyflakes', pyflakes_version),
        ('mccabe', mccabe.__version__),
        ('pydocstyle', pydocstyle_version),
        ('naming', pep8ext_naming.__version__),
        ('debugger', flake8_debugger.__version__),
        ('import-order', flake8_import_order_version),
    )