avocado-framework/avocado

View on GitHub
avocado/core/__init__.py

Summary

Maintainability
A
1 hr
Test Coverage
A
100%

Function register_core_options has 47 lines of code (exceeds 25 allowed). Consider refactoring.
Open

def register_core_options():
    streams = (['"%s": %s' % _ for _ in BUILTIN_STREAMS.items()] +
               ['"%s": %s' % _ for _ in BUILTIN_STREAM_SETS.items()])
    streams = "; ".join(streams)
    help_msg = ("List of comma separated builtin logs, or logging streams "
Severity: Minor
Found in avocado/core/__init__.py - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status