um-cseg/chez-betty

View on GitHub
chezbetty/__init__.py

Summary

Maintainability
C
7 hrs
Test Coverage

Function main has 176 lines of code (exceeds 25 allowed). Consider refactoring.
Open

def main(global_config, **settings):
    engine = engine_from_config(settings, 'sqlalchemy.')
    Base.metadata.create_all(engine)
    DBSession.configure(bind=engine)

Severity: Major
Found in chezbetty/__init__.py - About 7 hrs to fix

    There are no issues that match your filters.

    Category
    Status