CastagnaIT/plugin.video.netflix

View on GitHub
resources/lib/database/db_create_mysql.py

Summary

Maintainability
A
1 hr
Test Coverage

Function create_database has 33 lines of code (exceeds 25 allowed). Consider refactoring.
Open

def create_database(config):
    """Create a new database"""
    db_name = config.pop('database', None)
    LOG.debug('The MySQL database {} does not exist, creating a new one', db_name)
    conn = mysql.connector.connect(**config)
Severity: Minor
Found in resources/lib/database/db_create_mysql.py - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status