fabfile.py 文件源码

python
阅读 20 收藏 0 点赞 0 评论 0

项目:rq-scheduler-dashboard 作者: lamflam 项目源码 文件源码
def style():
    """Use flake8 to check Python style, PEP8, and McCabe complexity.

    See http://pypi.python.org/pypi/flake8/

    .. note::

        * Files with the following header are skipped::

            # flake8: noqa

        * Lines that end with a ``# NOQA`` comment will not issue a warning.

    """
    with lcd(_relative_to_fabfile('rq_dashboard')):
        local(
            'flake8 '
            '--exclude=".svn,CVS,.bzr,.hg,.git,__pycache__,._*" '
            '--max-complexity=9 .')
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号