itsVale/Vale.py

View on GitHub
cogs/games/base.py

Summary

Maintainability
B
4 hrs
Test Coverage

File base.py has 282 lines of code (exceeds 250 allowed). Consider refactoring.
Open

import asyncio
import contextlib
import enum
import functools
import inspect
Severity: Minor
Found in cogs/games/base.py - About 2 hrs to fix

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

        def __init_subclass__(cls, *, game_cls, name=None, cmd=None, aliases=(), **kwargs):
    Severity: Minor
    Found in cogs/games/base.py - About 45 mins to fix

      Function __init_subclass__ has 5 arguments (exceeds 4 allowed). Consider refactoring.
      Open

          def __init_subclass__(cls, *, board_factory, move_pattern=None, timeout=120):
      Severity: Minor
      Found in cogs/games/base.py - About 35 mins to fix

        There are no issues that match your filters.

        Category
        Status