lint.py 文件源码

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

项目:danube-delta 作者: honzajavorek 项目源码 文件源码
def lint(context):
    """Looks for errors in source code of your blog"""

    config = context.obj
    try:
        run('flake8 {dir} --exclude={exclude}'.format(
            dir=config['CWD'],
            exclude=','.join(EXCLUDE),
        ))
    except SubprocessError:
        context.exit(1)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号