byceps/byceps

View on GitHub

Showing 1 of 2 total issues

Function create has 28 lines of code (exceeds 25 allowed). Consider refactoring.
Open

def create(shop_id, type):
    """Create an article."""
    shop = _get_shop_or_404(shop_id)
    type_ = _get_article_type_or_400(type)

Severity: Minor
Found in byceps/blueprints/admin/shop/article/views.py - About 1 hr to fix
    Severity
    Category
    Status
    Source
    Language