fbi-cde/crime-data-api

View on GitHub
crime_data/app.py

Summary

Maintainability
A
2 hrs
Test Coverage

Function add_resources has 55 lines of code (exceeds 25 allowed). Consider refactoring.
Open

def add_resources(app):
    """Register API routes and Swagger endpoints"""
    api = restful.Api(app)

    @api.representation('text/csv')
Severity: Major
Found in crime_data/app.py - About 2 hrs to fix

    There are no issues that match your filters.

    Category
    Status