Showing 325 of 325 total issues
File _bot.py
has 7594 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
#!/usr/bin/env python
# pylint: disable=no-self-argument, not-callable, no-member, too-many-arguments
#
# A library that provides a Python interface to the Telegram Bot API
# Copyright (C) 2015-2024
File _extbot.py
has 3841 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
#!/usr/bin/env python
# pylint: disable=too-many-arguments
#
# A library that provides a Python interface to the Telegram Bot API
# Copyright (C) 2015-2024
File _message.py
has 3836 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
#!/usr/bin/env python
# pylint: disable=too-many-instance-attributes, too-many-arguments
#
# A library that provides a Python interface to the Telegram Bot API
# Copyright (C) 2015-2024
File _chat.py
has 3107 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
#!/usr/bin/env python
# pylint: disable=redefined-builtin
#
# A library that provides a Python interface to the Telegram Bot API
# Copyright (C) 2015-2024
File constants.py
has 2249 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
# python-telegram-bot - a Python interface to the Telegram Bot API
# Copyright (C) 2015-2024
# by the python-telegram-bot contributors <devs@python-telegram-bot.org>
#
# This program is free software: you can redistribute it and/or modify
File filters.py
has 2040 lines of code (exceeds 250 allowed). Consider refactoring. Open
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>
File _user.py
has 1763 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
#!/usr/bin/env python
# pylint: disable=redefined-builtin
#
# A library that provides a Python interface to the Telegram Bot API
# Copyright (C) 2015-2024
File _application.py
has 1451 lines of code (exceeds 250 allowed). Consider refactoring. Open
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>
File _applicationbuilder.py
has 1093 lines of code (exceeds 250 allowed). Consider refactoring. Open
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>
File conversationhandler.py
has 776 lines of code (exceeds 250 allowed). Consider refactoring. Open
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>
File _jobqueue.py
has 760 lines of code (exceeds 250 allowed). Consider refactoring. Open
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>
File _callbackquery.py
has 721 lines of code (exceeds 250 allowed). Consider refactoring. Open
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>
File _updater.py
has 705 lines of code (exceeds 250 allowed). Consider refactoring. Open
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>
Function __init__
has 79 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def __init__(
File _chatmember.py
has 527 lines of code (exceeds 250 allowed). Consider refactoring. Open
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>
File _update.py
has 507 lines of code (exceeds 250 allowed). Consider refactoring. Open
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>
File inputmedia.py
has 503 lines of code (exceeds 250 allowed). Consider refactoring. Open
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>
File _telegramobject.py
has 483 lines of code (exceeds 250 allowed). Consider refactoring. Open
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>
File _picklepersistence.py
has 462 lines of code (exceeds 250 allowed). Consider refactoring. Open
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>
ApplicationBuilder
has 48 functions (exceeds 20 allowed). Consider refactoring. Open
Open
class ApplicationBuilder(Generic[BT, CCT, UD, CD, BD, JQ]):
"""This class serves as initializer for :class:`telegram.ext.Application` via the so called
`builder pattern`_. To build a :class:`telegram.ext.Application`, one first initializes an
instance of this class. Arguments for the :class:`telegram.ext.Application` to build are then
added by subsequently calling the methods of the builder. Finally, the