BLKSerene/Wordless

View on GitHub
wordless/wl_widgets/wl_lists.py

Summary

Maintainability
A
2 hrs
Test Coverage

Function __init__ has 6 arguments (exceeds 4 allowed). Consider refactoring.
Open

    def __init__(
Severity: Minor
Found in wordless/wl_widgets/wl_lists.py - About 45 mins to fix

    Avoid deeply nested control flow statements.
    Open

                            if i != item_row and item_text == text:
                                wl_msg_boxes.Wl_Msg_Box_Warning(
                                    self.main,
                                    title = _tr('wl_lists', 'Duplicates Found'),
                                    text = _tr('wl_lists', '''
    Severity: Major
    Found in wordless/wl_widgets/wl_lists.py - About 45 mins to fix

      Avoid deeply nested control flow statements.
      Open

                              if line and line not in items_cur:
                                  items_to_imp.append(line)
      
      
      Severity: Major
      Found in wordless/wl_widgets/wl_lists.py - About 45 mins to fix

        There are no issues that match your filters.

        Category
        Status