leandrotoledo/python-telegram-bot

View on GitHub
telegram/ext/_contexttypes.py

Summary

Maintainability
A
2 hrs
Test Coverage

ContextTypes has 21 functions (exceeds 20 allowed). Consider refactoring.
Open

class ContextTypes(Generic[CCT, UD, CD, BD]):
    """
    Convenience class to gather customizable types of the :class:`telegram.ext.CallbackContext`
    interface.

Severity: Minor
Found in telegram/ext/_contexttypes.py - About 2 hrs to fix

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

        def __init__(  # type: ignore[misc]
    Severity: Minor
    Found in telegram/ext/_contexttypes.py - About 35 mins to fix

      There are no issues that match your filters.

      Category
      Status