Cog-Creators/Red-DiscordBot

View on GitHub

Showing 6 of 6 total issues

Function __init__ has 15 arguments (exceeds 8 allowed). Consider refactoring.
Open

    def __init__(
Severity: Major
Found in redbot/core/modlog.py - About 1 hr to fix

    Avoid deeply nested control flow statements.
    Open

                                    if all(
                                        k in data
                                        for k in ["loadType", "playlistInfo", "isSeekable", "isStream"]
                                    ):
                                        database_entries.append(
    Severity: Major
    Found in redbot/cogs/audio/core/utilities/miscellaneous.py - About 45 mins to fix

      Function __init__ has 10 arguments (exceeds 8 allowed). Consider refactoring.
      Open

          def __init__(
      Severity: Major
      Found in redbot/cogs/audio/apis/playlist_interface.py - About 45 mins to fix

        Function __call__ has 9 arguments (exceeds 8 allowed). Consider refactoring.
        Open

            def __call__(
        Severity: Major
        Found in redbot/logging.py - About 35 mins to fix

          Function __init__ has 9 arguments (exceeds 8 allowed). Consider refactoring.
          Open

              def __init__(
          Severity: Major
          Found in redbot/cogs/audio/apis/playlist_interface.py - About 35 mins to fix

            Function __init__ has 9 arguments (exceeds 8 allowed). Consider refactoring.
            Open

                def __init__(
            Severity: Major
            Found in redbot/__init__.py - About 35 mins to fix
              Severity
              Category
              Status
              Source
              Language