leandrotoledo/python-telegram-bot

View on GitHub
telegram/ext/_picklepersistence.py

Summary

Maintainability
C
1 day
Test Coverage

File _picklepersistence.py has 462 lines of code (exceeds 250 allowed). Consider refactoring.
Open

#!/usr/bin/env python
#
# A library that provides a Python interface to the Telegram Bot API
# Copyright (C) 2015-2024
# Leandro Toledo de Souza <devs@python-telegram-bot.org>
Severity: Minor
Found in telegram/ext/_picklepersistence.py - About 7 hrs to fix

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

        def __init__(
    Severity: Minor
    Found in telegram/ext/_picklepersistence.py - About 45 mins to fix

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

          def __init__(
      Severity: Minor
      Found in telegram/ext/_picklepersistence.py - About 45 mins to fix

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

            def __init__(
        Severity: Minor
        Found in telegram/ext/_picklepersistence.py - About 35 mins to fix

          There are no issues that match your filters.

          Category
          Status